Closed rbergen closed 2 years ago
Thanks, this looks completely correct. I'll merge into develop soon and it may make sense to do an intermediate release - I have only minimally looked at this project for a while, good to see interest in fixing bugs!
Well, I think this is a great project worth contributing to, and I do like solving this type of puzzle. Looking at the issue list, there's a few others I may be able to help out with (like #133 and #132), and I will do so when I can find the time to do so. The MacOS-related ones I can't debug because I don't have a MacOS machine, and some others (#128, specifically) do look like they are way over my head. I'd be honoured if you do decide to merge some of my contributes and include them in an intermediate release. :)
Previously, if one was set to 0.0, the octant calculation for the angle in question would be skipped due to the numeric value evaluating to False.
thanks. if I changes my program to circle(100, 100), 50, , 0.01, 1.57, the result is correct.
@nganfei Thank you for confirming that.
Merged
This fixes #136 by explicitly checking if the
start
andstop
angle arguments are set toNone
when calculating the octants. Previously, if one was set to0.0
, the octant calculation for the angle in question would be skipped due to the numeric value evaluating toFalse
.