diff --git a/src/TiledArray/tensor/kernels.h b/src/TiledArray/tensor/kernels.h index 876ed00feb..699496d77e 100644 --- a/src/TiledArray/tensor/kernels.h +++ b/src/TiledArray/tensor/kernels.h @@ -1280,7 +1280,6 @@ auto tensor_hadamard(TensorA const& A, Annot const& aA, TensorB const& B, } else { auto pA = A.permute(perm.AC); return pA.mult_to(B.permute(perm.BC)); - return pA; } }