#define SURF_MAXMIN_HPP
#include "src/internal_config.h"
-#include "xbt/misc.h"
-#include "xbt/asserts.h"
#include "surf/datatypes.h"
-#include <math.h>
+#include "xbt/asserts.h"
+#include "xbt/misc.h"
+#include <cmath>
namespace simgrid {
namespace surf {
return (fabs(value1 - value2) < precision);
}
-SG_BEGIN_DECL()
+extern "C" {
/** @{ @ingroup SURF_lmm */
/**
XBT_PUBLIC(double func_vegas_fpi) (lmm_variable_t var, double x);
/** @} */
-SG_END_DECL()
+}
#endif