diff --git a/include/boost/math/policies/error_handling.hpp b/include/boost/math/policies/error_handling.hpp index 83686e3e9..d7ba69456 100644 --- a/include/boost/math/policies/error_handling.hpp +++ b/include/boost/math/policies/error_handling.hpp @@ -63,6 +63,11 @@ public: explicit rounding_error(const std::string& s) : std::runtime_error(s){} }; +#else + +class evaluation_error {}; +class rounding_error {}; + #endif namespace policies{