Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23189 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Nov 4, 2014
1 parent a7e28ab commit 1d01378
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -239,7 +239,7 @@ int solveSystemWithTotalPivotSearchLS(int n, double* x, double* A, int* indRow,
/* this criteria should be evaluated and may be improved in future */
if (fabs(A[indRow[i] + n*n])>1e-12) {
warningStreamPrint(LOG_LS, 0, "under-determined linear system not solvable!");
return -1;
return -1;
} else {
x[indCol[i]] = 0.0;
}
Expand All @@ -253,7 +253,7 @@ int solveSystemWithTotalPivotSearchLS(int n, double* x, double* A, int* indRow,
}
x[n]=1.0;
debugVectorDoubleLS(LOG_LS_V,"LGS: solution vector x",x, n+1);

return 0;
}

Expand Down

0 comments on commit 1d01378

Please sign in to comment.