changeset 488:7757170f02e6

imbothat: fix errors on the input check
author carandraug
date Wed, 02 Nov 2011 17:03:06 +0000
parents 5ae041071822
children 737b8c27d24c
files inst/imbothat.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/inst/imbothat.m
+++ b/inst/imbothat.m
@@ -28,7 +28,7 @@
 function retval = imbothat (im, se)
 
   ## Checkinput
-  if (nargin <=1 || nargin > 3)
+  if (nargin != 2)
     print_usage();
   endif
   if (!ismatrix(im) || !isreal(im))