File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -360,11 +360,11 @@ function blas_contract!(
360360 bstyle = BraidingStyle (sectortype (C))
361361 bstyle isa SymmetricBraiding ||
362362 throw (SectorMismatch (" only tensors with symmetric braiding rules can be contracted; try `@planar` instead" ))
363- TC = eltype (C)
363+ TC = scalartype (C)
364364
365365 # check which tensors have to be permuted/copied
366- copyA = ! (TO. isblascontractable (A, pA) && eltype (A) === TC)
367- copyB = ! (TO. isblascontractable (B, pB) && eltype (B) === TC)
366+ copyA = ! (TO. isblascontractable (A, pA) && scalartype (A) === TC)
367+ copyB = ! (TO. isblascontractable (B, pB) && scalartype (B) === TC)
368368
369369 if bstyle isa Fermionic && any (isdual ∘ Base. Fix1 (space, B), pB[1 ])
370370 # twist smallest object if neither or both already have to be permuted
You can’t perform that action at this time.
0 commit comments