Skip to content

Commit

Permalink
Fix dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-rozet committed Jan 12, 2024
1 parent ae105d4 commit c7910a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/contrib/test_zuko.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_ZukoToPyro(multivariate: bool, rsample_and_log_prob: bool):

if rsample_and_log_prob:
def dummy(self, shape):
x = self.rsample(x)
x = self.rsample(shape)
return x, self.log_prob(x)

dist.rsample_and_log_prob = dummy
Expand Down

0 comments on commit c7910a4

Please sign in to comment.