Skip to content

Commit

Permalink
Adjust tolerance for spiral arms tests for numpy 1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
jobovy committed Sep 25, 2023
1 parent 533eef0 commit b2e30cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_SpiralArmsPotential.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

_NUMPY_VERSION = parse_version(numpy.__version__)
_NUMPY_1_23 = (_NUMPY_VERSION > parse_version("1.22")) * (
_NUMPY_VERSION < parse_version("1.26")
) # For testing 1.23/1.24/1.25 precision issues
_NUMPY_VERSION < parse_version("1.27")
) # For testing 1.23/1.24/1.25/1.26 precision issues
import unittest

from numpy.testing import assert_allclose
Expand Down

0 comments on commit b2e30cf

Please sign in to comment.