Skip to content

Commit adb6576

Browse files
committed
pre-commit
1 parent b877990 commit adb6576

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test_xview.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#endif
2323

2424
#include "xtensor/xarray.hpp"
25+
#include "xtensor/xassign.hpp"
2526
#include "xtensor/xbuilder.hpp"
2627
#include "xtensor/xfixed.hpp"
2728
#include "xtensor/xmanipulation.hpp"
@@ -30,7 +31,6 @@
3031
#include "xtensor/xstrided_view.hpp"
3132
#include "xtensor/xtensor.hpp"
3233
#include "xtensor/xview.hpp"
33-
#include "xtensor/xassign.hpp"
3434

3535
namespace xt
3636
{
@@ -1697,12 +1697,12 @@ namespace xt
16971697

16981698
TEST(xview, reorder_function)
16991699
{
1700-
xtensor<float, 1> a = {1,2,3,4};
1701-
xtensor<float, 1> b = {5,6,7,8};
1700+
xtensor<float, 1> a = {1, 2, 3, 4};
1701+
xtensor<float, 1> b = {5, 6, 7, 8};
17021702
auto c = xtensor<float, 1>::from_shape(a.shape());
17031703
auto f = a + b;
17041704
auto v = xt::view(f, xt::all());
17051705
auto is_linear_assign = xt::xassign_traits<decltype(c), decltype(v)>::linear_assign(c, v, true);
17061706
EXPECT_TRUE(is_linear_assign);
17071707
}
1708-
}
1708+
}

0 commit comments

Comments
 (0)