Skip to content

Commit

Permalink
Use new antisymm. tensor LaTeX repr in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Jan 15, 2025
1 parent de0d230 commit f87ebc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_canonicalize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ TEST_CASE("Canonicalizer", "[algorithms]") {
auto op = ex<Tensor>(L"B", bra{L"p_1", L"p_2"}, ket{L"p_4", L"p_3"},
aux{L"p_5"}, Symmetry::antisymm);
canonicalize(op);
REQUIRE(to_latex(op) == L"{{-}{B^{{p_3}{p_4}}_{{p_1}{p_2}}[{p_5}]}}");
REQUIRE(to_latex(op) ==
L"{{-}{\\bar{B}^{{p_3}{p_4}}_{{p_1}{p_2}}[{p_5}]}}");
}
}

Expand Down

0 comments on commit f87ebc7

Please sign in to comment.