chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improve C++ header exceptions, rename NLOPT_FORCE_STOP to NLOPT_FORCED_STOP
[nlopt.git]
/
api
/
nlopt.h
diff --git
a/api/nlopt.h
b/api/nlopt.h
index 39cddfd40dc9de6d4c71f3ec0fec8c25243dfcd3..2f0975b19f0ce57dbe2b3dd8cb44251cc8522619 100644
(file)
--- a/
api/nlopt.h
+++ b/
api/nlopt.h
@@
-135,7
+135,7
@@
typedef enum {
NLOPT_INVALID_ARGS = -2,
NLOPT_OUT_OF_MEMORY = -3,
NLOPT_ROUNDOFF_LIMITED = -4,
- NLOPT_FORCE_STOP = -5,
+ NLOPT_FORCE
D
_STOP = -5,
NLOPT_SUCCESS = 1, /* generic success code */
NLOPT_STOPVAL_REACHED = 2,
NLOPT_FTOL_REACHED = 3,