Skip to content

Commit

Permalink
Merge branch 'master' into gaudel/fix/more_tot_corner_case
Browse files Browse the repository at this point in the history
  • Loading branch information
bimalgaudel authored Jul 8, 2024
2 parents 8ae0cda + e15fcdf commit 2b87118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TiledArray/einsum/tiledarray.h
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,8 @@ auto einsum(expressions::TsrExpr<ArrayA_> A, expressions::TsrExpr<ArrayB_> B,
//
if ((h && !(i || e)) // pure Hadamard
|| (IsArrayToT<ArrayC> && !(i || h)) // ToT result from outer-product
|| (IsArrayT<ArrayC> && !h) // T from general product without Hadamard
) {
|| (IsArrayT<ArrayC> && !h)) // T from general product without Hadamard
{
ArrayC C;
C(std::string(c) + inner.c) = A * B;
return C;
Expand Down

0 comments on commit 2b87118

Please sign in to comment.