Skip to content

Commit

Permalink
Remove redundant stack
Browse files Browse the repository at this point in the history
Fixes CI error that came from `stack` not being available in Julia 1.7.
  • Loading branch information
THargreaves committed Apr 15, 2024
1 parent e37ec33 commit bd23d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/linear-gaussian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ end
initial = rand(rng, StateObs(G0, M.obs))
trajectory = trace(DynamicIterators.Sampled(M), 1 => initial, endtime(T))
y_pairs = collect(t => y for (t, (x, y)) in pairs(trajectory))
ys = stack(y for (t, (x, y)) in pairs(trajectory))
ys = [y for (t, (x, y)) in pairs(trajectory)]

# Ground truth smoothing
Xf, ll = kalmanfilter(M, 1 => G0, y_pairs)
Expand Down

0 comments on commit bd23d08

Please sign in to comment.