From: stevenj Date: Mon, 18 Aug 2008 20:52:25 +0000 (-0400) Subject: rm hack now that we are computing gradient correctly, apparently not needed any more X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=73387022d82aae5faca1663ef3e7602c3de524e0;p=nlopt.git rm hack now that we are computing gradient correctly, apparently not needed any more darcs-hash:20080818205225-c8de0-6c37f0aef8ec1db09a754d86647e1daefd7e313c.gz --- 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;