diff scripts/general/perror.m @ 107:ae8f1ad2774a

[project @ 1993-09-15 00:09:03 by jwe] Use err, not info for fsolve section.
author jwe
date Wed, 15 Sep 1993 00:09:03 +0000
parents b4df021f796c
children 16a24e76d6e0
line wrap: on
line diff
--- a/scripts/general/perror.m
+++ b/scripts/general/perror.m
@@ -23,13 +23,13 @@
 
   if (strcmp (name, "fsolve"))
 
-    if (info == -1)
+    if (err == -1)
       printf ("input error\n");
-    elseif (info == 1)
+    elseif (err == 1)
       printf ("solution converged to requested tolerance\n");
-    elseif (info == 4)
+    elseif (err == 4)
       printf ("iteration limit exceeded\n");
-    elseif (info == 3)
+    elseif (err == 3)
       printf ("iteration is not making good progress\n");
     else
       error ("perror: unrecognized error code for fsolve");