Skip to content

Commit b489de7

Browse files
committed
fix name alias
1 parent 6a7c8ac commit b489de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensors/indexmanipulations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ See [`twist!`](@ref) for storing the result in place.
317317
"""
318318
function twist(t::AbstractTensorMap, inds; inv::Bool = false, copy::Bool = false)
319319
!copy && has_shared_twist(t, inds) && return t
320-
return twist!(copy(t), is; inv)
320+
return twist!(Base.copy(t), is; inv)
321321
end
322322

323323
# Methods which change the number of indices, implement using `Val(i)` for type inference

0 commit comments

Comments
 (0)