Skip to content

Commit 4304252

Browse files
committed
fix
1 parent e207e4c commit 4304252

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-
union!(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)