Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
aronsho committed Jul 12, 2023
1 parent c743e88 commit 84d9d8d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions catalog_tools/analysis/tests/test_estimate_beta.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def test_shi_bolt_confidence(
b_value: float,
std_b_value: float,
std_beta: float):
precicion = 1e-10
precision = 1e-10
beta = b_value * np.log(10)

assert shi_bolt_confidence(
magnitudes, b_value=b_value) - std_b_value < precicion
assert shi_bolt_confidence(magnitudes, beta=beta) - std_beta < precicion
magnitudes, b_value=b_value) - std_b_value < precision
assert shi_bolt_confidence(magnitudes, beta=beta) - std_beta < precision

0 comments on commit 84d9d8d

Please sign in to comment.