summaryrefslogtreecommitdiff
path: root/interval_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'interval_utils.py')
-rw-r--r--interval_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interval_utils.py b/interval_utils.py
index 0d77f4f..977b583 100644
--- a/interval_utils.py
+++ b/interval_utils.py
@@ -55,7 +55,7 @@ def check_point_in_interval(origin, p, interval):
ang = get_point_angle(origin, p)
print(interval)
print(canonicalize_angle_interval(interval))
- if ang > interval[0] and ang < interval[1]:
+ if ang >= interval[0] and ang <= interval[1]:
return True
else:
return False \ No newline at end of file