Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

Commit

Permalink
fix typo of np.zeros_like
Browse files Browse the repository at this point in the history
  • Loading branch information
tmontaigu committed Sep 24, 2020
1 parent 20d594a commit 13eb640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylas/point/dims.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def copy(self):
def _do_comparison(self, value, comp):
if isinstance(value, (int, self.array.dtype)):
if value > self.max_value_allowed:
return np.zeros_likes(self.array, np.bool)
return np.zeros_like(self.array, np.bool)
return comp(self.array & self.bit_mask, value << self.lsb)

def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
Expand Down

0 comments on commit 13eb640

Please sign in to comment.