chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added new NLOPT_ROUNDOFF_LIMITED failure code to indicate when optimizer breaks down...
[nlopt.git]
/
api
/
nlopt.h
diff --git
a/api/nlopt.h
b/api/nlopt.h
index aa8552711a834466d57690ccbece455110ea9611..20d0f6924a383f4d8a9b64f9ac6c0abee806837d 100644
(file)
--- a/
api/nlopt.h
+++ b/
api/nlopt.h
@@
-116,6
+116,7
@@
typedef enum {
NLOPT_FAILURE = -1, /* generic failure code */
NLOPT_INVALID_ARGS = -2,
NLOPT_OUT_OF_MEMORY = -3,
+ NLOPT_ROUNDOFF_LIMITED = -4,
NLOPT_SUCCESS = 1, /* generic success code */
NLOPT_MINF_MAX_REACHED = 2,