From f6773e55b1025d13647a84702833cc8dc3f08d88 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Tue, 1 Sep 2009 17:36:29 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@59 ed2142bd-67ad-457f-ba7c-d818d4011675 --- core/fitter.hpp | 1 + core/freeze_param.hpp | 1 + core/num_diff.hpp | 2 +- core/opt_exception.hpp | 1 + core/opt_traits.hpp | 1 + core/optimizer.hpp | 6 +++--- 6 files changed, 8 insertions(+), 4 deletions(-) (limited to 'core') 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 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 #include 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 #include #include 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 #include 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 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 #include "opt_traits.hpp" #include "opt_exception.hpp" -- cgit v1.2.2