Skip to content

Commit

Permalink
fix MAP
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinvtran committed May 14, 2016
1 parent cc1ef0b commit 5086e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edward/variationals.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ class PointMass(Likelihood):
"""
def __init__(self, num_vars, transform=tf.identity):
Likelihood.__init__(self, 1)
self.num_vars = self.num_vars
self.num_params = self.num_vars
self.num_vars = num_vars
self.num_params = num_vars
self.transform = transform
self.params = None

Expand Down

0 comments on commit 5086e49

Please sign in to comment.