Skip to content

Commit

Permalink
fixup for failing conditional sampling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Oct 4, 2024
1 parent 138c5dc commit bf07d3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/linearGaussian_fmpe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def simulator(theta):
# Evaluate the conditional density be drawing samples and smoothing with a Gaussian
# kde.
potential_fn, theta_transform = posterior_estimator_based_potential(
posterior_estimator, prior=prior
posterior_estimator, prior=prior, x_o=None
).set_x(x_o, x_is_iid=False)
(
conditioned_potential_fn,
Expand Down
2 changes: 1 addition & 1 deletion tests/linearGaussian_snpe_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def simulator(theta):
# Evaluate the conditional density be drawing samples and smoothing with a Gaussian
# kde.
potential_fn, theta_transform = posterior_estimator_based_potential(
posterior_estimator, prior=prior
posterior_estimator, prior=prior, x_o=None
).set_x(x_o, x_is_iid=False)
(
conditioned_potential_fn,
Expand Down

0 comments on commit bf07d3d

Please sign in to comment.