Skip to content

Commit

Permalink
fix mismatched parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuaibi7 committed Dec 13, 2024
1 parent 6512607 commit 8a7448a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dialect/models/interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ def verify_taus_are_valid(self, taus, tol=1e-6):
if tau_11 == 1:
logging.warning(
f"Tau_11 is 1 for interaction {self.name}. This is an edge case."
raise ValueError("Tau_11 cannot be 1. This leads to log(0) in log-likelihood.")
)
raise ValueError(
"Tau_11 cannot be 1. This leads to log(0) in log-likelihood."
)

def verify_pi_values(self, pi_a, pi_b):
"""
Expand Down

0 comments on commit 8a7448a

Please sign in to comment.