chiark / gitweb /
Use trusty
[nlopt.git] / praxis / praxis.h
index b6d06163190d491bc29048ef77c68ca094ad8788..59ad0bd757a27ade533f27c6cfdea429f5006a32 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef PRAXIS_H
 #define PRAXIS_H
 
+#include "nlopt-util.h"
+#include "nlopt.h"
+
 #ifdef __cplusplus
 extern "C"
 {
@@ -8,8 +11,9 @@ extern "C"
 
 typedef double (*praxis_func)(int n, const double *x, void *f_data);
 
-double praxis_(double *t0, double *machep, double *h0,
-               int *n, double *x, praxis_func f, void *f_data);
+nlopt_result praxis_(double t0, double machep, double h0,
+                    int n, double *x, praxis_func f, void *f_data, 
+                    nlopt_stopping *stop, double *minf);
 
 #ifdef __cplusplus
 }  /* extern "C" */