Skip to content

Commit 311a4b2

Browse files
committed
doc: add comment
1 parent d615424 commit 311a4b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_xbuilder.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,8 @@ namespace xt
676676

677677
xt::dynamic_shape<std::size_t> sd = {3, 2, 1};
678678
auto ed1 = empty<double>(sd);
679-
#if defined(_MSVC_LANG)
679+
// TODO : The ed2 expression do not work on MSVC due to bad deduction since cpp20. We need to fix it for MSVC.
680+
#if defined(_MSVC_LANG)
680681
using ShapeType = xt::dynamic_shape<std::size_t>;
681682
auto ed2 = empty<double, xt::layout_type::column_major, ShapeType>(ShapeType({3, 3, 3}));
682683
#else

0 commit comments

Comments
 (0)