Skip to content

Commit f763f68

Browse files
committed
Revert tensorfree
1 parent 444612d commit f763f68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/implementation/blascontract.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ function _blas_contract!(C, A, pA, B, pB, pAB, α, β, backend, allocator)
5555
tensoradd!(C, C_, pAB, false, α, β, backend, allocator)
5656
tensorfree!(C_.parent, allocator)
5757
end
58-
flagA || tensorfree!(A_, allocator)
59-
flagB || tensorfree!(B_, allocator)
58+
flagA || tensorfree!(A_.parent, allocator)
59+
flagB || tensorfree!(B_.parent, allocator)
6060
return C
6161
end
6262

0 commit comments

Comments
 (0)