[qu2cu] Fix optimization
4 wouldn't have caused problem really but 3 is correct.
This commit is contained in:
parent
51ed6c151f
commit
68c735aa76
@ -298,7 +298,7 @@ def spline_to_curves(q, costs, tolerance=0.5, all_cubic=False):
|
||||
if i_sol < best_sol:
|
||||
best_sol = i_sol
|
||||
|
||||
if i_sol_count == 4:
|
||||
if i_sol_count == 3:
|
||||
# Can't get any better than this
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user