From: <ha...@us...> - 2008-07-05 06:03:49
|
Revision: 5161 http://octave.svn.sourceforge.net/octave/?rev=5161&view=rev Author: hauberg Date: 2008-07-04 23:03:55 -0700 (Fri, 04 Jul 2008) Log Message: ----------- Changed 'len' to 'length' as that is what the function is called Modified Paths: -------------- trunk/octave-forge/main/image/inst/edge.m Modified: trunk/octave-forge/main/image/inst/edge.m =================================================================== --- trunk/octave-forge/main/image/inst/edge.m 2008-07-04 18:01:34 UTC (rev 5160) +++ trunk/octave-forge/main/image/inst/edge.m 2008-07-05 06:03:55 UTC (rev 5161) @@ -364,7 +364,7 @@ ## Get thresholds if (nargin > 2 && isscalar(varargin{1})) thresh = [0.4*varargin{1}, varargin{1}]; - elseif (nargin > 2 && ismatrix(varargin{1}) && len(varargin{1}(:)) == 2) + elseif (nargin > 2 && ismatrix (varargin{1}) && length (varargin{1}(:)) == 2) thresh = varargin{1}(:); else tmp = mean(abs(Es(:))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |