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:
1083bac
)
fix failure in C++ (and some other front-ends) when de-allocating an nlopt object...
author
stevenj
<stevenj@alum.mit.edu>
Thu, 15 Jul 2010 16:15:40 +0000
(12:15 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Thu, 15 Jul 2010 16:15:40 +0000
(12:15 -0400)
darcs-hash:
20100715161540
-c8de0-
8aa02bad85ddebaae8e38e05825c23c3d850a702
.gz
api/options.c
patch
|
blob
|
history
diff --git
a/api/options.c
b/api/options.c
index 60d3d71cee7106094e2a92671d59bea5199beafb..d934f71e25216a5d27e601d6c104e24cf092a5f9 100644
(file)
--- a/
api/options.c
+++ b/
api/options.c
@@
-576,6
+576,7
@@
NLOPT_STDCALL nlopt_set_local_optimizer(nlopt_opt opt,
nlopt_remove_inequality_constraints(opt->local_opt);
nlopt_remove_equality_constraints(opt->local_opt);
nlopt_set_min_objective(opt->local_opt, NULL, NULL);
+ nlopt_set_munge(opt->local_opt, NULL, NULL);
opt->local_opt->force_stop = 0;
}
return NLOPT_SUCCESS;