chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c427b
)
rm hack now that we are computing gradient correctly, apparently not needed any more
author
stevenj
<stevenj@alum.mit.edu>
Mon, 18 Aug 2008 20:52:25 +0000
(16:52 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Mon, 18 Aug 2008 20:52:25 +0000
(16:52 -0400)
darcs-hash:
20080818205225
-c8de0-
6c37f0aef8ec1db09a754d86647e1daefd7e313c
.gz
mma/mma.c
patch
|
blob
|
history
diff --git
a/mma/mma.c
b/mma/mma.c
index e91a979138f8f8269b36e04ae7e61626e3bbf2b3..cf3a214f9ca80ae0bdd1cbb5276c4bbfb848b3d8 100644
(file)
--- 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;