From 84d9d8d5a30d05e987eb211bf042ce9df45a4a5a Mon Sep 17 00:00:00 2001 From: Aron Mirwald Date: Wed, 12 Jul 2023 16:05:20 +0200 Subject: [PATCH] style --- catalog_tools/analysis/tests/test_estimate_beta.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/catalog_tools/analysis/tests/test_estimate_beta.py b/catalog_tools/analysis/tests/test_estimate_beta.py index 5131565..8e067ce 100644 --- a/catalog_tools/analysis/tests/test_estimate_beta.py +++ b/catalog_tools/analysis/tests/test_estimate_beta.py @@ -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