From bd23d08590375c96e42640f24011ea140e2bb940 Mon Sep 17 00:00:00 2001 From: THargreaves Date: Mon, 15 Apr 2024 14:51:44 +0100 Subject: [PATCH] Remove redundant stack Fixes CI error that came from `stack` not being available in Julia 1.7. --- test/linear-gaussian.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/linear-gaussian.jl b/test/linear-gaussian.jl index e5c5d01..2b5fd7c 100644 --- a/test/linear-gaussian.jl +++ b/test/linear-gaussian.jl @@ -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)