Skip to content

Commit

Permalink
👌 Made epsilon for residual scale with original data
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand authored and jsnel committed Sep 3, 2021
1 parent d5763fd commit 50abefd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/test_result_consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def data_var_test(

eps = np.finfo(np.float32).eps
rtol = 1e-5
# if "residual" in expected_var_name: # type:ignore[operator]
# eps = 1e-5
if expected_var_name.endswith("residual"): # type:ignore[operator]
eps = expected_result["data"].values.max() * 1e-8

if "singular_vectors" in expected_var_name: # type:ignore[operator]
rtol = 1e-4
Expand Down

0 comments on commit 50abefd

Please sign in to comment.