From a836b89d4cf0cd42a21995cb77457739a6172655 Mon Sep 17 00:00:00 2001 From: kmp5VT Date: Mon, 16 Oct 2023 16:15:20 -0400 Subject: [PATCH] format --- NDTensors/src/abstractarray/tensoralgebra/contract.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/NDTensors/src/abstractarray/tensoralgebra/contract.jl b/NDTensors/src/abstractarray/tensoralgebra/contract.jl index 52be037edb..5db9bf5370 100644 --- a/NDTensors/src/abstractarray/tensoralgebra/contract.jl +++ b/NDTensors/src/abstractarray/tensoralgebra/contract.jl @@ -146,9 +146,7 @@ function _contract!( # we need to make sure C is permuted to the same # ordering as A B which is the inverse of props.PC if β ≠ 0 - CM = reshape( - permutedims(CT, invperm(props.PC)), (props.dleft, props.dright) - ) + CM = reshape(permutedims(CT, invperm(props.PC)), (props.dleft, props.dright)) else # Need to copy here since we will be permuting # into C later