Skip to content

Commit

Permalink
ut(pt): lower the atol for DPA2 corner case
Browse files Browse the repository at this point in the history
  • Loading branch information
iProzd committed May 23, 2024
1 parent f303484 commit d12321b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tests/consistent/descriptor/test_dpa2.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def atol(self) -> float:
use_econf_tebd,
) = self.param
if precision == "float64":
return 1e-8
return 1e-6 # need to fix in the future, see issue https://github.com/deepmodeling/deepmd-kit/issues/3786
elif precision == "float32":
return 1e-4
else:
Expand Down

0 comments on commit d12321b

Please sign in to comment.