Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbailey committed Dec 14, 2019
1 parent 45e0a25 commit 4eff5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rail/likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ class Likelihood(UserDict):
"""

def __init__(self, lam: float) -> None:
self.data = {}
if lam < 0:
raise ValueError(
"Likelihood value lam must be greater than or equal to zero."
)
self.data = {}
self.data["name"] = str(lam)
self.data["lam"] = lam

Expand Down

0 comments on commit 4eff5b8

Please sign in to comment.