From: <jo...@us...> - 2012-09-14 19:36:50
|
Revision: 11023 http://octave.svn.sourceforge.net/octave/?rev=11023&view=rev Author: jordigh Date: 2012-09-14 19:36:44 +0000 (Fri, 14 Sep 2012) Log Message: ----------- Fix typo in iscolormap.m Modified Paths: -------------- trunk/octave-forge/main/image/inst/iscolormap.m Modified: trunk/octave-forge/main/image/inst/iscolormap.m =================================================================== --- trunk/octave-forge/main/image/inst/iscolormap.m 2012-09-14 19:32:33 UTC (rev 11022) +++ trunk/octave-forge/main/image/inst/iscolormap.m 2012-09-14 19:36:44 UTC (rev 11023) @@ -31,7 +31,7 @@ endif bool = false; - if (ismatrix (cm) && isreal (cm) isnumeric (cm) && columns(cm) == 3 && + if (ismatrix (cm) && isreal (cm) && isnumeric (cm) && columns(cm) == 3 && ndims (cm) == 2 && strcmp (class (cm), "double") && min (cm(:)) >= 0 && max (cm(:)) <= 1) bool = true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |