changeset 648:bf96413ededb

im2bw: fix typo on input check
author carandraug
date Sat, 06 Oct 2012 21:53:47 +0000
parents ad6b73ba5416
children 7f72c38de78c
files inst/im2bw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/inst/im2bw.m
+++ b/inst/im2bw.m
@@ -49,7 +49,7 @@
     thres = cmap;
   endif
 
-  if (!isnumeric || !isscalar (thres) || !isreal (thres) || !isa (thres, "double") || thres < 0 || thres > 1)
+  if (!isnumeric (thres) || !isscalar (thres) || !isreal (thres) || !isa (thres, "double") || thres < 0 || thres > 1)
     error ("im2bw: `threshold' must be a scalar of class double in the interval [0, 1]")
   endif