Sketcher: Fix #3658 Levenberg-Marquardt solver precision issues
This commit is contained in:
@@ -1740,7 +1740,7 @@ int System::solve_LM(SubSystem* subsys, bool isRedundantsolving)
|
||||
|
||||
// check error
|
||||
double err=e.squaredNorm();
|
||||
if (err <= eps) { // error is small, Success
|
||||
if (err <= eps*eps) { // error is small, Success
|
||||
stop = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user