Mercurial > hg > octave-image
changeset 590:bb0e1c085831
Fix typo in iscolormap.m
author | jordigh |
---|---|
date | Fri, 14 Sep 2012 19:36:44 +0000 |
parents | 31736083c9a5 |
children | 48b80e727ce8 |
files | inst/iscolormap.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/inst/iscolormap.m +++ b/inst/iscolormap.m @@ -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;