diff options
author | Onderwaater <onderwaa@esrf.fr> | 2015-12-14 10:45:35 +0100 |
---|---|---|
committer | Onderwaater <onderwaa@esrf.fr> | 2015-12-14 10:45:35 +0100 |
commit | 57ba0334ac5c139f6e960ac1ca56672721f78d36 (patch) | |
tree | b20bc7e4601aa3abd10fa7b397906cd1345c9ee6 /binoculars | |
parent | 9bea7cc3ffa0ab6263054c39fa2db7b413a191c0 (diff) |
bugfix
Diffstat (limited to 'binoculars')
-rwxr-xr-x | binoculars/space.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binoculars/space.py b/binoculars/space.py index de501d3..73fe1cc 100755 --- a/binoculars/space.py +++ b/binoculars/space.py @@ -626,7 +626,7 @@ class Space(object): elif sl.start is not None and sl.stop is not None: invalid += numpy.bitwise_or(coord < sl.start, coord > sl.stop) - if numpy.all(invalid is True): + if numpy.all(invalid == True): return EmptySpace() coordinates = tuple(coord[~invalid] for coord in coordinates) intensity = intensity[~invalid] |