Skip to content

Commit

Permalink
fix: fails if value is 3072
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Sep 10, 2024
1 parent 29157fb commit 30f6081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mocpy/tests/test_moc.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def test_mpl_border():
def test_moc_contains(order):
# defines 20 random healpix cells of the required order
size = 20
healpix_arr = rng.integers(0, 12 * 4**order, size, dtype="uint64", endpoint=True)
healpix_arr = rng.integers(0, 12 * 4**order, size, dtype="uint64", endpoint=False)
# defines a moc containing the 20 points
moc = MOC.from_json(json_moc={str(order): np.unique(healpix_arr).tolist()})
# the complementary should not contain them
Expand Down

0 comments on commit 30f6081

Please sign in to comment.