From b68f5fb023500740ffd96bb30f070df2b0c6ceec Mon Sep 17 00:00:00 2001 From: Mitsuru Kariya Date: Tue, 17 Mar 2015 15:40:19 +0900 Subject: [PATCH] fix missing inclusion of workaround header file --- sprout/random/uniform_int_distribution.hpp | 3 +++ sprout/random/uniform_real_distribution.hpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/sprout/random/uniform_int_distribution.hpp b/sprout/random/uniform_int_distribution.hpp index 3a34acd8..05f3b783 100644 --- a/sprout/random/uniform_int_distribution.hpp +++ b/sprout/random/uniform_int_distribution.hpp @@ -18,6 +18,9 @@ #include #include #include +#ifdef SPROUT_WORKAROUND_NOT_TERMINATE_RECURSIVE_CONSTEXPR_FUNCTION_TEMPLATE +# include +#endif namespace sprout { namespace random { diff --git a/sprout/random/uniform_real_distribution.hpp b/sprout/random/uniform_real_distribution.hpp index 79b64d29..73f1b531 100644 --- a/sprout/random/uniform_real_distribution.hpp +++ b/sprout/random/uniform_real_distribution.hpp @@ -16,6 +16,9 @@ #include #include #include +#ifdef SPROUT_WORKAROUND_NOT_TERMINATE_RECURSIVE_CONSTEXPR_FUNCTION_TEMPLATE +# include +#endif namespace sprout { namespace random {