aboutsummaryrefslogtreecommitdiffstats
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/aga/aga.hpp1
-rw-r--r--methods/gsl_simplex/gsl_simplex.hpp1
-rw-r--r--methods/powell/bas_util.hpp1
-rw-r--r--methods/powell/brent.hpp1
-rw-r--r--methods/powell/linmin.hpp1
-rw-r--r--methods/powell/mnbrak.hpp1
-rw-r--r--methods/powell/powell_method.hpp1
7 files changed, 7 insertions, 0 deletions
diff --git a/methods/aga/aga.hpp b/methods/aga/aga.hpp
index 5dba423..0cde38d 100644
--- a/methods/aga/aga.hpp
+++ b/methods/aga/aga.hpp
@@ -5,6 +5,7 @@
#ifndef AGA_METHOD
#define AGA_METHOD
+#define OPT_HEADER
#include <core/optimizer.hpp>
//#include <blitz/array.h>
#include <limits>
diff --git a/methods/gsl_simplex/gsl_simplex.hpp b/methods/gsl_simplex/gsl_simplex.hpp
index 4b9295f..cb26ac6 100644
--- a/methods/gsl_simplex/gsl_simplex.hpp
+++ b/methods/gsl_simplex/gsl_simplex.hpp
@@ -4,6 +4,7 @@
#ifndef GSL_SIMPLEX_METHOD
#define GSL_SIMPLEX_METHOD
+#define OPT_HEADER
#include <core/optimizer.hpp>
//#include <blitz/array.h>
#include <vector>
diff --git a/methods/powell/bas_util.hpp b/methods/powell/bas_util.hpp
index 6a53f0a..ccdce9e 100644
--- a/methods/powell/bas_util.hpp
+++ b/methods/powell/bas_util.hpp
@@ -1,5 +1,6 @@
#ifndef BAS_UTIL
#define BAS_UTIL
+#define OPT_HEADER
#include <core/opt_traits.hpp>
#include <algorithm>
namespace opt_utilities
diff --git a/methods/powell/brent.hpp b/methods/powell/brent.hpp
index cb3b962..1a0ee39 100644
--- a/methods/powell/brent.hpp
+++ b/methods/powell/brent.hpp
@@ -1,5 +1,6 @@
#ifndef BRENT_HPP
#define BRENT_HPP
+#define OPT_HEADER
#include <iostream>
#include "bas_util.hpp"
//#include "optimizer.hpp"
diff --git a/methods/powell/linmin.hpp b/methods/powell/linmin.hpp
index 286405a..bde12c6 100644
--- a/methods/powell/linmin.hpp
+++ b/methods/powell/linmin.hpp
@@ -1,5 +1,6 @@
#ifndef LINMIN_HPP
#define LINMIN_HPP
+#define OPT_HEADER
#include "mnbrak.hpp"
#include "brent.hpp"
#include <core/opt_traits.hpp>
diff --git a/methods/powell/mnbrak.hpp b/methods/powell/mnbrak.hpp
index 4887bec..9871473 100644
--- a/methods/powell/mnbrak.hpp
+++ b/methods/powell/mnbrak.hpp
@@ -1,5 +1,6 @@
#ifndef MNBRAK_HPP
#define MNBRAK_HPP
+#define OPT_HEADER
//#include "optimizer.hpp"
#include "bas_util.hpp"
namespace opt_utilities
diff --git a/methods/powell/powell_method.hpp b/methods/powell/powell_method.hpp
index eb5c498..6256b5b 100644
--- a/methods/powell/powell_method.hpp
+++ b/methods/powell/powell_method.hpp
@@ -4,6 +4,7 @@
#ifndef POWELL_METHOD
#define POWELL_METHOD
+#define OPT_HEADER
#include <core/optimizer.hpp>
//#include <blitz/array.h>
#include <limits>