From: stevenj Date: Sun, 27 Nov 2011 19:20:58 +0000 (-0500) Subject: return roundoff-limited for cobyla in this case X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3c5393f02d70503c3035de6324c9e2c026726ad1;p=nlopt.git return roundoff-limited for cobyla in this case Ignore-this: 8eff9dfe1942ac6e70d1d32f11098564 darcs-hash:20111127192058-c8de0-1f0930d5712e70af87645d990247e98ec81a38ac.gz --- diff --git a/cobyla/cobyla.c b/cobyla/cobyla.c index f8b08e9..6a9a80e 100644 --- a/cobyla/cobyla.c +++ b/cobyla/cobyla.c @@ -746,7 +746,7 @@ L140: if (*iprint >= 1) { fprintf(stderr, "cobyla: rounding errors are becoming damaging.\n"); } - rc = NLOPT_FAILURE; + rc = NLOPT_ROUNDOFF_LIMITED; goto L600; }