SourceForge has been redesigned. Learn more.
Close

Diff of /inst/symerr.m [786917] .. [d6dad2]  Maximize  Restore

Switch to side-by-side view

--- a/inst/symerr.m
+++ b/inst/symerr.m
@@ -41,7 +41,7 @@
 ## @end table
 ##
 ## This behavior can be overridden with the variable @var{flag}. @var{flag}
-## can take the value 'column-wise', 'row-wise' or 'overall'. A column-wise
+## can take the value "column-wise", "row-wise" or "overall". A column-wise
 ## comparison is not possible with a row vector and visa-versa.
 ## @end deftypefn
 
@@ -116,21 +116,21 @@
   ind = (__errcore__ (a, b) != 0);
 
   switch (flag)
-    case 'row'
+    case "row"
       if (strcmp (type, "matrix") && (ac == 1))
         num = ind;
       else
         num = sum (ind')';
       endif
       rate = num / max (ac, bc);
-    case 'column'
+    case "column"
       if (strcmp (type, "matrix") && (ar == 1))
         num = ind;
       else
         num = sum (ind);
       endif
       rate = num / max (ar, br);
-    case 'overall'
+    case "overall"
       num = sum (sum (ind));
       rate = num / max (ar, br) / max (ac, bc);
     otherwise