Skip to content

Commit d04ba25

Browse files
committed
revert isunit change to isone
1 parent 8305383 commit d04ba25

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
@@ -275,7 +275,7 @@ function has_shared_twist(t, inds)
275275
else
276276
for i in inds
277277
cs = sectors(space(t, i))
278-
all(isunit twist, cs) || return false
278+
all(isone twist, cs) || return false
279279
end
280280
return true
281281
end

0 commit comments

Comments
 (0)