Skip to content

Commit c189284

Browse files
committed
apply split suggestion
1 parent c0ef01e commit c189284

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/fusiontrees/manipulations.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,9 @@ operation is the inverse of `insertat` in the sense that if
165165
f₂ = FusionTree{I}(f.uncoupled, f.coupled, isdual2, f.innerlines, f.vertices)
166166
return f₁, f₂
167167
elseif M === 0
168-
f₁ = FusionTree{I}((), leftone(f.uncoupled[1]), (), ())
169-
uncoupled2 = (leftone(f.uncoupled[1]), f.uncoupled...)
168+
u = leftone(f.uncoupled[1])
169+
f₁ = FusionTree{I}((), u, (), ())
170+
uncoupled2 = (u, f.uncoupled...)
170171
coupled2 = f.coupled
171172
isdual2 = (false, f.isdual...)
172173
innerlines2 = N >= 2 ? (f.uncoupled[1], f.innerlines...) : ()

0 commit comments

Comments
 (0)