@@ -210,10 +210,10 @@ end
210210 ),
211211 )
212212 @test getlogprior (vi) == lp_a + lp_b
213- @test_throws " has no field LogLikelihoodAccumulator " getloglikelihood (vi)
214- @test_throws " has no field LogLikelihoodAccumulator " getlogp (vi)
215- @test_throws " has no field LogLikelihoodAccumulator " getlogjoint (vi)
216- @test_throws " has no field NumProduceAccumulator " get_num_produce (vi)
213+ @test_throws " has no field LogLikelihood " getloglikelihood (vi)
214+ @test_throws " has no field LogLikelihood " getlogp (vi)
215+ @test_throws " has no field LogLikelihood " getlogjoint (vi)
216+ @test_throws " has no field NumProduce " get_num_produce (vi)
217217 @test begin
218218 vi = acclogprior!! (vi, 1.0 )
219219 getlogprior (vi) == lp_a + lp_b + 1.0
@@ -228,20 +228,20 @@ end
228228 m, DynamicPPL. setaccs!! (deepcopy (vi), (NumProduceAccumulator (),))
229229 ),
230230 )
231- @test_throws " has no field LogPriorAccumulator " getlogprior (vi)
232- @test_throws " has no field LogLikelihoodAccumulator " getloglikelihood (vi)
233- @test_throws " has no field LogPriorAccumulator " getlogp (vi)
234- @test_throws " has no field LogPriorAccumulator " getlogjoint (vi)
231+ @test_throws " has no field LogPrior " getlogprior (vi)
232+ @test_throws " has no field LogLikelihood " getloglikelihood (vi)
233+ @test_throws " has no field LogPrior " getlogp (vi)
234+ @test_throws " has no field LogPrior " getlogjoint (vi)
235235 @test get_num_produce (vi) == 2
236236
237237 # Test evaluating without any accumulators.
238238 vi = last (DynamicPPL. evaluate!! (m, DynamicPPL. setaccs!! (deepcopy (vi), ())))
239- @test_throws " has no field LogPriorAccumulator " getlogprior (vi)
240- @test_throws " has no field LogLikelihoodAccumulator " getloglikelihood (vi)
241- @test_throws " has no field LogPriorAccumulator " getlogp (vi)
242- @test_throws " has no field LogPriorAccumulator " getlogjoint (vi)
243- @test_throws " has no field NumProduceAccumulator " get_num_produce (vi)
244- @test_throws " has no field NumProduceAccumulator " reset_num_produce!! (vi)
239+ @test_throws " has no field LogPrior " getlogprior (vi)
240+ @test_throws " has no field LogLikelihood " getloglikelihood (vi)
241+ @test_throws " has no field LogPrior " getlogp (vi)
242+ @test_throws " has no field LogPrior " getlogjoint (vi)
243+ @test_throws " has no field NumProduce " get_num_produce (vi)
244+ @test_throws " has no field NumProduce " reset_num_produce!! (vi)
245245 end
246246
247247 @testset " flags" begin
0 commit comments