Mercurial > hg > octave-terminal
changeset 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 | 38f924cd2055 |
children | 55454c1bd2a2 |
files | scripts/general/perror.m |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
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");