Unnecessary parens
This commit is contained in:
parent
c082616c6f
commit
fdceeee0c6
@ -951,7 +951,7 @@ def _curve_line_intersections_t(curve, line):
|
||||
intersections.extend(solveCubic(a[1], b[1], c[1], d[1]))
|
||||
else:
|
||||
raise ValueError("Unknown curve degree")
|
||||
return sorted([i for i in intersections if (0.0 <= i <= 1)])
|
||||
return sorted([i for i in intersections if 0.0 <= i <= 1])
|
||||
|
||||
|
||||
def curveLineIntersections(curve, line):
|
||||
|
Loading…
x
Reference in New Issue
Block a user