Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stig Rune Sellevag committed Aug 8, 2023
1 parent 276822f commit 02644c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ TEST(TestMatrix, TestStaticMatrixMdspan)
TEST(TestMatrix, TestCopyRowMajorColMajor)
{
Sci::Matrix<int> a = {{1, 2, 3}, {4, 5, 6}};
Sci::Matrix<int> b(a.to_mdspan());
Sci::Matrix<int, stdex::layout_left> b(a.to_mdspan());

for (Sci::index j = 0; j < a.extent(1); ++j) {
for (Sci::index i = 0; i < a.extent(0); ++i) {
Expand Down

0 comments on commit 02644c7

Please sign in to comment.