From 3adb9235bc8d1ef34e03b916d4722ad2126731b8 Mon Sep 17 00:00:00 2001 From: Kyurae Kim Date: Mon, 21 Oct 2024 14:51:17 -0700 Subject: [PATCH] fix error in repgradelbo interface test --- test/interface/repgradelbo.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/interface/repgradelbo.jl b/test/interface/repgradelbo.jl index a93bbfd4..a9f6ed66 100644 --- a/test/interface/repgradelbo.jl +++ b/test/interface/repgradelbo.jl @@ -45,7 +45,7 @@ end modelstats = normal_meanfield(rng, Float64) (; model, μ_true, L_true, n_dims, is_meanfield) = modelstats - @testset for adtype in AD_repgradelbo_stl + @testset for (_, adtype) in AD_repgradelbo_stl q_true = MeanFieldGaussian( Vector{eltype(μ_true)}(μ_true), Diagonal(Vector{eltype(L_true)}(diag(L_true))) )