Skip to content

Commit bb4b7ef

Browse files
committed
fix logic mistake
1 parent fad0625 commit bb4b7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensors/tensoroperations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function blas_contract!(
339339
if bstyle isa Fermionic && any(isdual Base.Fix1(space, B), pB[1])
340340
# twist smallest object if neither or both already have to be permuted
341341
# otherwise twist the one that already is copied
342-
if copyA copyB
342+
if !(copyA copyB)
343343
twistA = dim(A) < dim(B)
344344
else
345345
twistA = copyA

0 commit comments

Comments
 (0)