I tried to fix #364 in #365 but while I had the right idea, the PR did not actually fix the problem, sorry!
I accidentally used the cubic control points to store the last quadratic control points because the var x1, x2 were overwritten by the conversion call. I moved the storing of the last quadratic control point to before the conversion call. This time a test is included to make sure this works.
I tried to fix #364 in #365 but while I had the right idea, the PR did not actually fix the problem, sorry!
I accidentally used the cubic control points to store the last quadratic control points because the var
x1
,x2
were overwritten by the conversion call. I moved the storing of the last quadratic control point to before the conversion call. This time a test is included to make sure this works.Fixes #364 properly.