Try to solve even very overconstrained systems.
Before this commit, overconstraining a system past a certain point resulted in a wrong error message: instead of "redundant constraints", "unsolvable constraints" was displayed. To reproduce, place more six or more length constraints with the same value onto the same line segment.
This commit is contained in:
parent
804761da88
commit
2b388e7da4
|
@ -277,7 +277,6 @@ bool System::SolveLeastSquares(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool System::NewtonSolve(int tag) {
|
bool System::NewtonSolve(int tag) {
|
||||||
if(mat.m > mat.n) return false;
|
|
||||||
|
|
||||||
int iter = 0;
|
int iter = 0;
|
||||||
bool converged = false;
|
bool converged = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user