Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Aug 27, 2021
1 parent d329b0d commit 98f8f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stheno/model/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def sample(self, state: B.RandomState, *fdds: FDD):

@_dispatch
def sample(self, *fdds: FDD):
return B.squeeze(1, *fdds)
return self.sample(1, *fdds)

@_dispatch
def logpdf(self, *pairs: Union[list, tuple]):
Expand Down

0 comments on commit 98f8f20

Please sign in to comment.