samdon / pmtk3

Automatically exported from code.google.com/p/pmtk3
0 stars 0 forks source link

Syntax error in logregFit.m #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the current version (pmtk3-23nov10.zip)
2. run initPmtk3 
3. run testPmtk3

What is the expected output? What do you see instead?

Just downloaded pmtk3-23nov10.zip, and testPmtk3 produces:

parse error near line 53 of file 
/home/jpate/git/prosodicParsing/pmt3k/pmtk3-23nov10/toolbox/SupervisedModels/log
reg/logregFit.m

  syntax error

>>> [   weights       ....

Changing the "...." to "..." fixes the error.

What version / revision of the product are you using? On what operating
system?

$ uname -a
Linux PURPLE-HAZE 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 14:15:27 CET 2011 x86_64 
Celeron(R) Dual-Core CPU T3000 @ 1.80GHz GenuineIntel GNU/Linux
$ octave -v
GNU Octave, version 3.2.4
Copyright (C) 2009 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

Octave was configured for "x86_64-unknown-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

Please provide any additional information below.

Although I'm using octave, this just seems to be a typo with an extra "." 
(especially considering the output of svn diff -r2598 
toolbox/SupervisedModels/logreg/logregFit.m)

Original issue reported on code.google.com by john.ken...@gmail.com on 17 Jan 2011 at 12:01

GoogleCodeExporter commented 9 years ago
Moved to GitHub: https://github.com/probml/pmtk3/issues/13

Original comment by irosen on 4 Jan 2014 at 2:33