Skip to content

Commit

Permalink
Remove use of deprecated typedefs.. (moar)
Browse files Browse the repository at this point in the history
  • Loading branch information
bimalgaudel committed May 21, 2024
1 parent 00663f8 commit 4b3f39f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/einsum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ bool check_manual_eval(std::string const& annot, il_trange trangeA,
}

BOOST_AUTO_TEST_CASE(contract) {
using Array = TA::TArrayI;
using Array = TA::DistArray<TA::Tensor<int>>;

BOOST_REQUIRE(check_manual_eval<Array>("ij,j->i",
{{0, 2, 4}, {0, 4, 8}}, // A's trange
Expand All @@ -136,7 +136,7 @@ BOOST_AUTO_TEST_CASE(contract) {
}

BOOST_AUTO_TEST_CASE(hadamard) {
using Array = TA::TArrayI;
using Array = TA::DistArray<TA::Tensor<int>>;
BOOST_REQUIRE(check_manual_eval<Array>("i,i->i", //
{{0, 1}}, //
{{0, 1}} //
Expand All @@ -153,7 +153,7 @@ BOOST_AUTO_TEST_CASE(hadamard) {
}

BOOST_AUTO_TEST_CASE(general) {
using Array = TA::TArrayI;
using Array = TA::DistArray<TA::Tensor<int>>;
BOOST_REQUIRE(check_manual_eval<Array>("ijk,kil->ijl", //
{{0, 2}, {0, 3, 5}, {0, 2, 4}}, //
{{0, 2, 4}, {0, 2}, {0, 1}} //
Expand Down

0 comments on commit 4b3f39f

Please sign in to comment.