Diff of /bitget.m [9a4016] .. [e9d0dc]  Maximize  Restore

  Switch to side-by-side view

--- a/bitget.m
+++ b/bitget.m
@@ -34,7 +34,8 @@
     usage ("bitget(A,n)");
   endif
 
-  if (n < 1 || n > (log2(bitmax) + 1) )
+  m = n(:);
+  if (any(m < 1) || any(m > (log2(bitmax) + 1)) )
     msg = sprintf ("n must be in range [1,%d]",round(log2(bitmax)+1));
     error (msg);
   endif

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

Sign up for the SourceForge newsletter:





No, thanks