From a4cd10dd2429e2aad33dd69a4309988fed772196 Mon Sep 17 00:00:00 2001 From: Seren Lee Date: Fri, 13 Dec 2024 10:01:35 -0800 Subject: [PATCH] Update test bugs_primitives.jl --- test/bugs_primitives.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/bugs_primitives.jl b/test/bugs_primitives.jl index 69505e2f7..357510acc 100644 --- a/test/bugs_primitives.jl +++ b/test/bugs_primitives.jl @@ -27,3 +27,9 @@ end ] LogDensityProblems.logdensity_and_gradient(ad_model, theta) end + +@testset "inprod(a,b)" begin + A = [3, 0.7, 6] + B = [2.6, 1.3, 3] + @test JuliaBUGS.BUGSPrimitives.inprod(A,B) = 26.71 +end