chiark / gitweb /
improve C++ header exceptions, rename NLOPT_FORCE_STOP to NLOPT_FORCED_STOP
[nlopt.git] / api / nlopt.h
index 39cddfd40dc9de6d4c71f3ec0fec8c25243dfcd3..2f0975b19f0ce57dbe2b3dd8cb44251cc8522619 100644 (file)
@@ -135,7 +135,7 @@ typedef enum {
      NLOPT_INVALID_ARGS = -2,
      NLOPT_OUT_OF_MEMORY = -3,
      NLOPT_ROUNDOFF_LIMITED = -4,
-     NLOPT_FORCE_STOP = -5,
+     NLOPT_FORCED_STOP = -5,
      NLOPT_SUCCESS = 1, /* generic success code */
      NLOPT_STOPVAL_REACHED = 2,
      NLOPT_FTOL_REACHED = 3,