fix locating by changing one byte
This commit is contained in:
parent
4aba887351
commit
14c4311f8f
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class LocatorSpace:
|
||||||
|
|
||||||
# acceptable points need to have a value for the needed_station_id
|
# acceptable points need to have a value for the needed_station_id
|
||||||
points = tuple(
|
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:
|
if not points:
|
||||||
return None, None
|
return None, None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue