Skip to content

Commit

Permalink
Update common/unit_test/Test_prep_transpose_view.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: yasahi-hpc <[email protected]>
  • Loading branch information
helloworld922 and yasahi-hpc authored May 24, 2024
1 parent 8001d31 commit 19bd366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/unit_test/Test_prep_transpose_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ void test_unmanaged_prep_transpose_view() {
}

LayoutType layout_orig;
layout_orig.dimension[0] = 1;
for (int i = 0; i < DIMS; ++i) {
layout_orig.dimension[i] = 1;
}
InManagedViewType in("in", layout);
OutManagedViewType out("out", layout_orig);
OutViewType u_out(out.data(), layout_orig);
Expand Down

0 comments on commit 19bd366

Please sign in to comment.