We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad0625 commit bb4b7efCopy full SHA for bb4b7ef
src/tensors/tensoroperations.jl
@@ -339,7 +339,7 @@ function blas_contract!(
339
if bstyle isa Fermionic && any(isdual ∘ Base.Fix1(space, B), pB[1])
340
# twist smallest object if neither or both already have to be permuted
341
# otherwise twist the one that already is copied
342
- if copyA ⊻ copyB
+ if !(copyA ⊻ copyB)
343
twistA = dim(A) < dim(B)
344
else
345
twistA = copyA
0 commit comments