diff --git a/include/array_view.h b/include/array_view.h index e4ffe5d..89a22f7 100644 --- a/include/array_view.h +++ b/include/array_view.h @@ -75,7 +75,7 @@ namespace details class coordinate_facade { static_assert(std::is_integral::value - && !std::is_signed::value + && !std::is_signed::value && sizeof(ValueType) <= sizeof(size_t), "ValueType must be unsigned integral type!"); static_assert(Rank > 0, "Rank must be greater than 0!"); @@ -1630,9 +1630,9 @@ namespace details template struct array_view_options { - static_assert(std::is_integral::value - && !std::is_signed::value - && sizeof(SizeType) <= sizeof(size_t), "size_type must be unsigned integral type!"); + static_assert(std::is_integral::value + && !std::is_signed::value + && sizeof(ValueType) <= sizeof(size_t), "ValueType must be unsigned integral type!"); struct array_view_traits {