Diff of /inst/iptcheckconn.m [292736] .. [754a6f]  Maximize  Restore

Switch to side-by-side view

--- a/inst/iptcheckconn.m
+++ b/inst/iptcheckconn.m
@@ -49,7 +49,7 @@
   ## error ends in \n so the back trace of the error is not show. This is on
   ## purpose since the whole idea of this function is already to give a properly
   ## formatted error message
-  if (!any (strcmp (class (con), {'logical', 'double'})) || !isreal (con) || !isnumeric (con))
+  if (! any (strcmp (class (con), {'logical', 'double'})) || ! isreal (con))
     error ("%sConnectivity must be a real number of the logical or double class.\n", base_msg);
   elseif (isscalar (con))
     if (!any (con == [1 4 6 8 18 26]))

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks