From 73387022d82aae5faca1663ef3e7602c3de524e0 Mon Sep 17 00:00:00 2001 From: stevenj Date: Mon, 18 Aug 2008 16:52:25 -0400 Subject: [PATCH] rm hack now that we are computing gradient correctly, apparently not needed any more darcs-hash:20080818205225-c8de0-6c37f0aef8ec1db09a754d86647e1daefd7e313c.gz --- mma/mma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mma/mma.c b/mma/mma.c index e91a979..cf3a214 100644 --- a/mma/mma.c +++ b/mma/mma.c @@ -197,7 +197,6 @@ nlopt_result mma_minimize(int n, nlopt_func f, void *f_data, dual_lb, dual_ub, y, &min_dual, -HUGE_VAL, dual_tolrel,0., 0.,NULL, dual_maxeval, stop->maxtime - (nlopt_seconds() - stop->start)); - if (reti == NLOPT_FAILURE) reti = NLOPT_SUCCESS; /* hack */ if (reti < 0 || reti == NLOPT_MAXTIME_REACHED) { ret = reti; goto done; -- 2.30.2