diff --git a/test/mcmc/Inference.jl b/test/mcmc/Inference.jl index 1f5a14869..83e7a73d8 100644 --- a/test/mcmc/Inference.jl +++ b/test/mcmc/Inference.jl @@ -74,16 +74,16 @@ chn1_contd = sample(gdemo_default, alg1, 5000; resume_from=chn1) check_gdemo(chn1_contd) - chn1_contd2 = sample(gdemo_default, alg1, 5000; resume_from=chn1, reuse_spl_n=1000) + chn1_contd2 = sample(gdemo_default, alg1, 5000; resume_from=chn1) check_gdemo(chn1_contd2) - chn2 = sample(gdemo_default, alg2, 2000; save_state=true) + chn2 = sample(gdemo_default, alg2, 5000; discard_initial=2000, save_state=true) check_gdemo(chn2) chn2_contd = sample(gdemo_default, alg2, 2000; resume_from=chn2) check_gdemo(chn2_contd) - chn3 = sample(gdemo_default, alg3, 5_000; save_state=true) + chn3 = sample(gdemo_default, alg3, 5_000; discard_initial=2000, save_state=true) check_gdemo(chn3) chn3_contd = sample(gdemo_default, alg3, 5_000; resume_from=chn3)