simplify comparison
This commit is contained in:
parent
97688ffae1
commit
810a09f18b
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ class Arc(Shape):
|
||||||
return thetas
|
return thetas
|
||||||
|
|
||||||
wh = self.width / 2.0
|
wh = self.width / 2.0
|
||||||
if wh == r0 or wh == r1:
|
if wh in (r0, r1):
|
||||||
thetas_inner = numpy.zeros(1) # Don't generate multiple vertices if we're at the origin
|
thetas_inner = numpy.zeros(1) # Don't generate multiple vertices if we're at the origin
|
||||||
else:
|
else:
|
||||||
thetas_inner = get_thetas(inner=True)
|
thetas_inner = get_thetas(inner=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue