Skip to content

Commit b438327

Browse files
committed
append to first name
1 parent 02b59b9 commit b438327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ for f in (:push!, :pushfirst!, :append!, :prepend!)
149149
end
150150
end
151151
@eval function Base.$f(t::MultiplexTraces{names}, x::RelativeTrace{left, right}) where {names, left, right}
152-
if right == 0 #do not accept appending the second name as it would be appended twice
152+
if left == 0 #do not accept appending the second name as it would be appended twice
153153
$f(t[first(names)].trace, x.trace)
154154
end
155155
end

0 commit comments

Comments
 (0)