Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzo committed Oct 4, 2021
1 parent 57c63d0 commit f51a64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyro/infer/autoguide/guides.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __getstate__(self):
return getattr(super(), "__getstate__", self.__dict__.copy)()

def __setstate__(self, state):
getattr(super(), "__getstate__", self.__dict__.update)(state)
getattr(super(), "__setstate__", self.__dict__.update)(state)
assert self.master is None
master_ref = weakref.ref(self)
for _, mod in self.named_modules():
Expand Down

0 comments on commit f51a64e

Please sign in to comment.