[qu2cu] Adjust optimization

This commit is contained in:
Behdad Esfahbod 2023-02-20 13:08:14 -07:00
parent e3d8472187
commit bf1ed91bde

View File

@ -268,7 +268,7 @@ def spline_to_curves(q, costs, tolerance=0.5, all_cubic=False):
if i_sol < best_sol:
best_sol = i_sol
if this_count == 3:
if this_count <= 3:
# Can't get any better than this
break