Skip to content

Commit 781c137

Browse files
committed
Fix typo
1 parent a782d47 commit 781c137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tensors/indexmanipulations.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ If `inv=true`, use the inverse twist.
302302
303303
See [`twist!`](@ref) for storing the result in place.
304304
"""
305-
function twist(t::AbstractTensorMap, i; inv::Bool = false)
305+
function twist(t::AbstractTensorMap, is; inv::Bool = false)
306306
(BraidingStyle(sectortype(t)) == Bosonic() || isempty(is)) && return t
307-
return twist!(copy(t), i; inv)
307+
return twist!(copy(t), is; inv)
308308
end
309309

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

0 commit comments

Comments
 (0)