chiark / gitweb /
work around broken solaris gcc
[nlopt.git] / util / sobolseq.c
index 42120fc7d21c73f7bce2f282f2f7b885d24a3345..b3bee05f9f8da363c09312588dd5bd36b64b78ba 100644 (file)
    a free/open-source implementation. */
 
 #include <stdlib.h>
+#include <math.h>
 
 #include "nlopt-util.h"
 
-#include "config.h"
-
 #if defined(HAVE_STDINT_H)
 #  include <stdint.h>
 #endif
@@ -250,7 +249,6 @@ void nlopt_sobol_skip(nlopt_sobol s, unsigned n, double *x)
 /* compile with -DSOBOLSEQ_TEST for test program */
 #ifdef SOBOLSEQ_TEST
 #include <stdio.h>
-#include <math.h>
 #include <time.h>
 
 /* test integrand from Joe and Kuo paper ... integrates to 1 */