From 0688033e38c6b90a7887bb0c8beb56332af10801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Tue, 6 Aug 2024 10:32:42 -0700 Subject: [PATCH] Remove initial definition of mask --- python/target_selection/skies.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/python/target_selection/skies.py b/python/target_selection/skies.py index 75e65ca0..b68c8c98 100644 --- a/python/target_selection/skies.py +++ b/python/target_selection/skies.py @@ -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."