Skip to content

Commit 37a541e

Browse files
committed
run test_approximation_predictions in SVA
1 parent ff736ee commit 37a541e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/SparseVariationalApproximationModule.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
AbstractGPs.TestUtils.test_internal_abstractgps_interface(rng, f_approx_post_Centered, a, b)
3232
end
3333

34+
ApproximateGPs.TestUtils.test_approximation_predictions(approx_Centered)
35+
3436
@testset "NonCentered" begin
3537

3638
# Construct optimal approximate posterior.
@@ -49,6 +51,8 @@
4951
approx_non_Centered = SparseVariationalApproximation(NonCentered(), fz, q_ε)
5052
f_approx_post_non_Centered = posterior(approx_non_Centered)
5153

54+
ApproximateGPs.TestUtils.test_approximation_predictions(approx_non_Centered)
55+
5256
@testset "AbstractGPs interface - NonCentered" begin
5357
AbstractGPs.TestUtils.test_internal_abstractgps_interface(
5458
rng, f_approx_post_non_Centered, a, b

0 commit comments

Comments
 (0)