Sketcher: small fix in listing of conflicting constraints
This commit is contained in:
parent
2e3e3f0467
commit
377e3eebce
|
@ -1285,7 +1285,7 @@ int System::diagnose(VEC_pD ¶ms, VEC_I &conflicting)
|
|||
conflictingIndex.resize(constr_num-rank);
|
||||
for (int j=rank; j < constr_num; j++) {
|
||||
for (int row=0; row < rank; row++) {
|
||||
if (R(row,j) != 0) {
|
||||
if (fabs(R(row,j)) > 1e-10) {
|
||||
int orig_col = qrJT.colsPermutation().indices()[row];
|
||||
conflictingIndex[j-rank].push_back(orig_col);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user