diff --git a/lslopt/lslextrafuncs.py b/lslopt/lslextrafuncs.py index 5d27d9a..94311cf 100644 --- a/lslopt/lslextrafuncs.py +++ b/lslopt/lslextrafuncs.py @@ -142,7 +142,7 @@ def llDetectedVel(idx, event=None): def llEdgeOfWorld(v1, v2): assert isvector(v1) assert isvector(v2) - if v2.x == v2.y == 0: + if v2[0] == v2[1] == 0: return 1 raise ELSLCantCompute