« Return to Thread: Bug in [image pkg]/edge.m: typo: should be "length" instead of "len"

Bug in [image pkg]/edge.m: typo: should be "length" instead of "len"

by Usr Bin Sh :: Rate this Message:

Reply to Author | View in Thread

Had the error when called the 'edge' function in such manner:
octave:55> gcb=edge (ifile,'Canny',[0 7], 1.6);
The error trace:
error: `len' undefined near line 367 column 54
error: evaluating binary operator `==' near line 367, column 74
error: evaluating binary operator `&&' near line 367, column 51
error: if: error evaluating conditional expression
error: evaluating if command near line 365, column 7
error: evaluating switch command near line 165, column 3
error: called from `edge' in file
`/usr/share/octave/packages/image-1.0.6/edge.m'
error: evaluating assignment expression near line 55, column 4

Fixed the typo in edge.m, line 367 by changing "len" to "length"

regards,
--
pavel

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Octave-dev mailing list
Octave-dev@...
https://lists.sourceforge.net/lists/listinfo/octave-dev

 « Return to Thread: Bug in [image pkg]/edge.m: typo: should be "length" instead of "len"

LightInTheBox - Buy quality products at wholesale price!