Skip to content

Commit

Permalink
changed the tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
masterismail committed Sep 11, 2024
1 parent 1e51916 commit d2bafa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
from policyengine import EconomicImpact

def assert_dict_approx_equal(actual, expected, tolerance=1e-4):
def assert_dict_approx_equal(actual, expected, tolerance=5e-2):
if isinstance(expected, dict):
for key in expected:
assert_dict_approx_equal(actual[key], expected[key], tolerance)
Expand Down

0 comments on commit d2bafa3

Please sign in to comment.