Skip to content

Commit

Permalink
Print out manual and einsum result in the failing case.
Browse files Browse the repository at this point in the history
  • Loading branch information
bimalgaudel committed Jan 15, 2024
1 parent dc5c0ad commit caa9aa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/einsum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,7 @@ BOOST_AUTO_TEST_CASE(ij_mn_eq_ijk_mo_times_ijk_no) {

auto out = einsum(lhs("i,j,k;m,o"), rhs("i,j,k;n,o"), "i,j;m,n");
bool are_equal = ToTArrayFixture::are_equal<ShapeComp::False>(ref, out);
std::cout << "ref:\n" << ref << '\n' << "out:\n" << out << '\n';
BOOST_CHECK(are_equal);
}

Expand Down

0 comments on commit caa9aa5

Please sign in to comment.