diff options
Diffstat (limited to 'distributions')
-rw-r--r-- | distributions/normed_dgauss1d.hpp | 2 | ||||
-rw-r--r-- | distributions/normed_gauss1d.hpp | 2 | ||||
-rw-r--r-- | distributions/uniformed.hpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/distributions/normed_dgauss1d.hpp b/distributions/normed_dgauss1d.hpp index 7aa29f6..d32a191 100644 --- a/distributions/normed_dgauss1d.hpp +++ b/distributions/normed_dgauss1d.hpp @@ -71,7 +71,9 @@ namespace opt_utilities private: std::string do_get_information()const { +#ifdef WITH_OPT_DOC #include <model_doc/normed_dgauss1d.info> +#endif return ""; } }; diff --git a/distributions/normed_gauss1d.hpp b/distributions/normed_gauss1d.hpp index 68114a3..5ef5d26 100644 --- a/distributions/normed_gauss1d.hpp +++ b/distributions/normed_gauss1d.hpp @@ -55,7 +55,9 @@ namespace opt_utilities private: std::string do_get_information()const { +#ifdef WITH_OPT_DOC #include <model_doc/normed_gauss1d.info> +#endif return ""; } }; diff --git a/distributions/uniformed.hpp b/distributions/uniformed.hpp index 8cde0b7..02309e5 100644 --- a/distributions/uniformed.hpp +++ b/distributions/uniformed.hpp @@ -54,7 +54,9 @@ namespace opt_utilities private: std::string do_get_information()const { +#ifdef WITH_OPT_DOC #include <model_doc/uniformed.info> +#endif return ""; } }; |