Skip to content

Commit

Permalink
[skip ci] Add corner case of outer Hadamard and inner outer-product k…
Browse files Browse the repository at this point in the history
…ind of ToT eval.
  • Loading branch information
bimalgaudel committed May 8, 2024
1 parent 2e67af6 commit 1e07eb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/einsum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ BOOST_AUTO_TEST_CASE(equal_nested_ranks) {
{3}, //
{2}));
// H+C;H+C not supported

// H;C(op)
BOOST_REQUIRE(check_manual_eval<ArrayToT>(
"ijk;bc,j;d->kji;dcb", {{0, 1}, {0, 1}, {0, 1}}, {{0, 1}}, {2, 3}, {4}));
}

BOOST_AUTO_TEST_CASE(different_nested_ranks) {
Expand Down

0 comments on commit 1e07eb0

Please sign in to comment.