aboutsummaryrefslogtreecommitdiffstats
path: root/core
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 /core
parentb4ae5bf85dc7538398fcc9065e81238de452492c (diff)
downloadopt-utilities-f6773e55b1025d13647a84702833cc8dc3f08d88.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@59 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'core')
-rw-r--r--core/fitter.hpp1
-rw-r--r--core/freeze_param.hpp1
-rw-r--r--core/num_diff.hpp2
-rw-r--r--core/opt_exception.hpp1
-rw-r--r--core/opt_traits.hpp1
-rw-r--r--core/optimizer.hpp6
6 files changed, 8 insertions, 4 deletions
diff --git a/core/fitter.hpp b/core/fitter.hpp
index 874e4d0..398282d 100644
--- a/core/fitter.hpp
+++ b/core/fitter.hpp
@@ -4,6 +4,7 @@
#ifndef FITTER_HPP
#define FITTER_HPP
+#define OPT_HEADER
#include "opt_exception.hpp"
#include "optimizer.hpp"
#include <vector>
diff --git a/core/freeze_param.hpp b/core/freeze_param.hpp
index 4f7cc8c..6a4f309 100644
--- a/core/freeze_param.hpp
+++ b/core/freeze_param.hpp
@@ -4,6 +4,7 @@
#ifndef FREEZE_PARAM_HPP
#define FREEZE_PARAM_HPP
+#define OPT_HEADER
#include "fitter.hpp"
#include <vector>
#include <set>
diff --git a/core/num_diff.hpp b/core/num_diff.hpp
index d6db632..27a1674 100644
--- a/core/num_diff.hpp
+++ b/core/num_diff.hpp
@@ -5,7 +5,7 @@
#ifndef NUMDIFF_HPP
#define NUMDIFF_HPP
-
+#define OPT_HEADER
#include <core/optimizer.hpp>
#include <core/opt_traits.hpp>
#include <algorithm>
diff --git a/core/opt_exception.hpp b/core/opt_exception.hpp
index e20e209..027f783 100644
--- a/core/opt_exception.hpp
+++ b/core/opt_exception.hpp
@@ -4,6 +4,7 @@
#ifndef OPT_EXCEPTION
#define OPT_EXCEPTION
+#define OPT_HEADER
#include <string>
#include <exception>
namespace opt_utilities
diff --git a/core/opt_traits.hpp b/core/opt_traits.hpp
index c660208..44aaa37 100644
--- a/core/opt_traits.hpp
+++ b/core/opt_traits.hpp
@@ -4,6 +4,7 @@
#ifndef ARRAY_OPERATION
#define ARRAY_OPERATION
+#define OPT_HEADER
#include <cstddef>
namespace opt_utilities
{
diff --git a/core/optimizer.hpp b/core/optimizer.hpp
index 9ae2860..871da7b 100644
--- a/core/optimizer.hpp
+++ b/core/optimizer.hpp
@@ -4,9 +4,9 @@
*/
-#ifndef OPTIMZER_H_
-#define OPTIMZER_H_
-//#define DEBUG
+#ifndef OPTIMZER_HPP
+#define OPTIMZER_HPP
+#define OPT_HEADER
#include <cstddef>
#include "opt_traits.hpp"
#include "opt_exception.hpp"