Skip to content

Commit 96247a2

Browse files
authored
Merge pull request #348 from JuliaRobotics/fix/1Q20/279
attempt fix for 279
2 parents 992d850 + 4304252 commit 96247a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/AbstractDFG.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,8 @@ function findVariableNearTimestamp(dfg::AbstractDFG,
760760
while 0 < CORRS + NUMBER
761761
# get closest
762762
link, mdt, corrs = findClosestTimestamp([(timest,0)], timeset[mask])
763-
push!(SYMS, syms[link[2]])
763+
newsym = syms[link[2]]
764+
union!(SYMS, !isa(newsym, Vector) ? [newsym] : newsym)
764765
mask[link[2]] = false
765766
CORRS = corrs-1
766767
# last match, done with this delta time

0 commit comments

Comments
 (0)