we can just remove the posterior.copy_hyperparameters_from(posteriors[-1]) line because hyperparameters are saved in the MCMCPosterior object (since v0.18.0).
this bug slipped through the tests because we were testing with num_round=1
tests are now updated to num_rounds=2, using maf as density estimator and suitable mcmc parameters.
fixes #53
notes:
posterior.copy_hyperparameters_from(posteriors[-1])
line because hyperparameters are saved in theMCMCPosterior
object (sincev0.18.0
).num_round=1
num_rounds=2
, usingmaf
as density estimator and suitable mcmc parameters.@jan-matthis can you please have a look?