diff --git a/include/xo/object2/DArray.hpp b/include/xo/object2/DArray.hpp index 55d5e06..332d126 100644 --- a/include/xo/object2/DArray.hpp +++ b/include/xo/object2/DArray.hpp @@ -72,7 +72,7 @@ namespace xo { * Darray * v = DArray::array(mm, e1, e2, e3); **/ template - requires (std::same_as> && ...) + requires (std::convertible_to> && ...) static DArray * array(obj mm, Args... args); ///@} @@ -170,7 +170,7 @@ namespace xo { }; template - requires (std::same_as> && ...) + requires (std::convertible_to> && ...) DArray * DArray::array(obj mm, Args... args) {