Skip to content

Commit

Permalink
Remove initial definition of mask
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 6, 2024
1 parent 4b66bda commit 0688033
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions python/target_selection/skies.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,8 +1217,6 @@ def is_valid_sky(
"""

mask = numpy.zeros(len(coords), dtype=numpy.bool_)

# Sanity checks.
coords = numpy.atleast_2d(coords)
assert len(coords.shape) == 2 and coords.shape[1] == 2, "coords must be a Nx2 array."
Expand Down

0 comments on commit 0688033

Please sign in to comment.