fix locating by changing one byte

This commit is contained in:
Laura Klünder 2018-12-26 15:13:10 +01:00
parent 4aba887351
commit 14c4311f8f

View file

@ -144,7 +144,7 @@ class LocatorSpace:
# acceptable points need to have a value for the needed_station_id
points = tuple(
np.argwhere(self.levels[:, self.stations_lookup[needed_station_id]] > self.no_signal).ravel()
np.argwhere(self.levels[:, self.stations_lookup[needed_station_id]] < self.no_signal).ravel()
)
if not points:
return None, None