Commit 0d5a5d77 authored by Xiao Chen's avatar Xiao Chen Committed by ZwwWayne
Browse files

Fix an index bug in the class BasePoints (#1274)

parent c2fbf216
...@@ -242,7 +242,7 @@ class BasePoints(object): ...@@ -242,7 +242,7 @@ class BasePoints(object):
""" """
in_range_flags = ((self.bev[:, 0] > point_range[0]) in_range_flags = ((self.bev[:, 0] > point_range[0])
& (self.bev[:, 1] > point_range[1]) & (self.bev[:, 1] > point_range[1])
& (self.bev[:, 1] < point_range[2]) & (self.bev[:, 0] < point_range[2])
& (self.bev[:, 1] < point_range[3])) & (self.bev[:, 1] < point_range[3]))
return in_range_flags return in_range_flags
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment