Skip to content

Commit

Permalink
Correct support
Browse files Browse the repository at this point in the history
  • Loading branch information
ae-foster committed Oct 23, 2018
1 parent a9e3b4a commit 3444642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/distributions/censored.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, base_distribution, upper_lim=float('inf'), lower_lim=float('-

@constraints.dependent_property
def support(self):
raise NotImplemented
return constraints.interval(self.lower_lim, self.upper_lim)

def sample(self, sample_shape=torch.Size()):
with torch.no_grad():
Expand Down

0 comments on commit 3444642

Please sign in to comment.