From 27767f7a4856b20055232b78e63dfc3107f38f73 Mon Sep 17 00:00:00 2001 From: EvilSpirit Date: Thu, 21 Jan 2016 11:22:37 +0600 Subject: [PATCH] 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. --- src/system.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/system.cpp b/src/system.cpp index f3d200c..ad2ea48 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -278,7 +278,6 @@ bool System::SolveLeastSquares(void) { } bool System::NewtonSolve(int tag) { - if(mat.m > mat.n) return false; int iter = 0; bool converged = false;