Skip to content

Commit

Permalink
Add absolute tolerance parameter to assert_allclose
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Nov 29, 2024
1 parent f8986de commit dae05d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/tests/universal/common/cases/model/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def test_forward(self) -> None:
ret[0][kk][0],
ret[0][kk][1],
err_msg=f"compare {kk} between frame 0 and 1",
atol=aprec,
)

subret = []
Expand Down

0 comments on commit dae05d8

Please sign in to comment.