We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef08fda commit 327b385Copy full SHA for 327b385
include/xtensor-blas/xblas_utils.hpp
@@ -195,7 +195,11 @@ namespace xt
195
***********************************/
196
197
template <class T>
198
- constexpr void assert_nd_square(const xexpression<T>& t) {
+#if !defined(_MSC_VER) || _MSC_VER >= 1910
199
+ constexpr
200
+#endif
201
+ void assert_nd_square(const xexpression<T>& t)
202
+ {
203
auto& dt = t.derived_cast();
204
if (dt.shape()[dt.dimension() - 1] != dt.shape()[dt.dimension() - 2])
205
{
0 commit comments