aboutsummaryrefslogtreecommitdiffstats
path: root/methods
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-09-01 17:36:29 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-09-01 17:36:29 +0000
commitf6773e55b1025d13647a84702833cc8dc3f08d88 (patch)
treebc1846ebfc94b85183391a69b27ebce6c80e1ecc /methods
parentb4ae5bf85dc7538398fcc9065e81238de452492c (diff)
downloadopt-utilities-f6773e55b1025d13647a84702833cc8dc3f08d88.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@59 ed2142bd-67ad-457f-ba7c-d818d4011675
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>