diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/fitter.hpp | 1 | ||||
| -rw-r--r-- | core/freeze_param.hpp | 1 | ||||
| -rw-r--r-- | core/num_diff.hpp | 2 | ||||
| -rw-r--r-- | core/opt_exception.hpp | 1 | ||||
| -rw-r--r-- | core/opt_traits.hpp | 1 | ||||
| -rw-r--r-- | core/optimizer.hpp | 6 | 
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" | 
