Mercurial > hg > octave-lyh
diff liboctave/NPSOL.cc @ 130:6642c455bf82
[project @ 1993-09-28 02:54:21 by jwe]
(NPSOL::minimize (double&, int&, Vector&)): Don't use `try' as a
variable name.
author | jwe |
---|---|
date | Tue, 28 Sep 1993 02:54:21 +0000 |
parents | 9a4c07481e61 |
children | 780cbbc57b7c |
line wrap: on
line diff
--- a/liboctave/NPSOL.cc +++ b/liboctave/NPSOL.cc @@ -255,8 +255,8 @@ else if (user_jac != NULL && user_grad != NULL) F77_FCN (npoptn) ("Derivative Level = 3", 20L); - int try = 0; - while (try++ < 5) + int attempt = 0; + while (attempt++ < 5) { F77_FCN (npsol) (&n, &nclin, &ncnln, &nrowa, &nrowj, &nrowr, pclin,