Skip to content

Commit

Permalink
Change keep_dist typing to Optional[bool].
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Zickel committed Sep 24, 2024
1 parent d3e46b1 commit d27c2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/poutine/equalize_messenger.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(
self,
sites: Union[str, List[str]],
type: Optional[str] = "sample",
keep_dist: bool = False,
keep_dist: Optional[bool] = False,
) -> None:
super().__init__()
self.sites = [sites] if isinstance(sites, str) else sites
Expand Down

0 comments on commit d27c2f1

Please sign in to comment.