Skip to content

Commit 78b135e

Browse files
committed
replace one evaluation in split with leftone
1 parent 8e8b760 commit 78b135e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/fusiontrees/manipulations.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,8 @@ 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-
# TODO: evaluate diagrams to see which unit is used here
169-
f₁ = FusionTree{I}((), one(I), (), ())
170-
uncoupled2 = (one(I), f.uncoupled...)
168+
f₁ = FusionTree{I}((), leftone(f.uncoupled[1]), (), ())
169+
uncoupled2 = (leftone(f.uncoupled[1]), f.uncoupled...)
171170
coupled2 = f.coupled
172171
isdual2 = (false, f.isdual...)
173172
innerlines2 = N >= 2 ? (f.uncoupled[1], f.innerlines...) : ()

0 commit comments

Comments
 (0)