diff --git a/coord/base.hpp b/coord/base.hpp index 41585b8e..4f8bd4c1 100644 --- a/coord/base.hpp +++ b/coord/base.hpp @@ -22,6 +22,7 @@ #include #include +#include namespace util { namespace coord { ///////////////////////////////////////////////////////////////////////// @@ -32,7 +33,8 @@ namespace util { namespace coord { typename ...tags > struct base : public init { - static_assert (S > 0, "coord dimensions must be strictly positive"); + static_assert (S > 0); + static_assert (std::is_arithmetic::value); using value_type = T; static constexpr size_t dimension = S;