[mlpack-svn] [MLPACK] #184: HyphenateString() leaves out the last line?
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Tue Feb 14 15:36:51 EST 2012
#184: HyphenateString() leaves out the last line?
--------------------------------------------------------------------+-------
Reporter: rcurtin | Owner:
Type: defect | Status: closed
Priority: trivial | Milestone: mlpack 1.0.1
Component: mlpack | Resolution: fixed
Keywords: HyphenateString CLI PROGRAM_INFO string documentation | Blocking:
Blocked By: |
--------------------------------------------------------------------+-------
Changes (by jcline3):
* status: new => closed
* resolution: => fixed
Comment:
cli.cpp: {{{ 301 while (pos < str.length()-1) }}}
pos < len - 1 means we stop one before the end of the string, or two
before the end of the string+1.
Anyway, should be fixed in r11518.
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/184#comment:1>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.
More information about the mlpack-svn
mailing list