Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Oct 16, 2023
1 parent bf86c83 commit a836b89
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions NDTensors/src/abstractarray/tensoralgebra/contract.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a836b89

Please sign in to comment.