From 3c5393f02d70503c3035de6324c9e2c026726ad1 Mon Sep 17 00:00:00 2001 From: stevenj Date: Sun, 27 Nov 2011 14:20:58 -0500 Subject: [PATCH] return roundoff-limited for cobyla in this case Ignore-this: 8eff9dfe1942ac6e70d1d32f11098564 darcs-hash:20111127192058-c8de0-1f0930d5712e70af87645d990247e98ec81a38ac.gz --- cobyla/cobyla.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2