Skip to content

Commit

Permalink
Pick up new code, add change log
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed May 15, 2024
1 parent eb3c6eb commit afb5485
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Release Notes
correctly with the ``math_util`` module and add unnecessary
complication. [#265]

- Setting ``export DISABLE_SPHR_GEOM_C_UFUNCS=true`` in your shell environment
now disables using ``math_util`` C-extension even when it is available.
This is useful for development and debugging. [#268]


1.3.1 (5-November-2023)
=======================
Expand Down
9 changes: 2 additions & 7 deletions spherical_geometry/tests/test_union.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,9 @@
from numpy.testing import assert_array_almost_equal

# LOCAL
from spherical_geometry import polygon
from spherical_geometry import polygon, HAS_C_UFUNCS
from spherical_geometry.tests.helpers import ROOT_DIR, resolve_imagename

try:
from spherical_geometry import math_util
except ImportError:
math_util = None

GRAPH_MODE = False


Expand Down Expand Up @@ -332,7 +327,7 @@ def test_edge_crossings():


@pytest.mark.skipif(
math_util is None,
not HAS_C_UFUNCS,
reason="math_util C-ext is missing, double accuracy leads to crash"
)
def test_almost_identical_polygons_multi_union():
Expand Down

0 comments on commit afb5485

Please sign in to comment.