Explain how forceDofCheck in System::Solve works. NFC.

pull/434/head
whitequark 2019-05-23 19:40:32 +00:00
parent cc107887e7
commit 9f2077b1f3
1 changed files with 2 additions and 0 deletions

View File

@ -418,6 +418,8 @@ SolveResult System::Solve(Group *g, int *dof, List<hConstraint> *bad,
param.ClearTags();
eq.ClearTags();
// Solving by substitution eliminates duplicate e.g. H/V constraints, which can cause rank test
// to succeed even on overdefined systems, which will fail later.
if(!forceDofCheck) {
SolveBySubstitution();
}