Skip to content

Commit

Permalink
- Minimal change to the uncertainties algorithm
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14343 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Leonardo Laguna committed Dec 12, 2012
1 parent 67f865c commit 12348dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Compiler/BackEnd/Uncertainties.mo
Expand Up @@ -717,6 +717,7 @@ algorithm
nxVarMap = listLength(xVarMap);
nxEqMap = listLength(xEqMap);
//print("Final matching of "+&intString(nxEqMap)+&" equations and "+&intString(nxVarMap)+&" variables \n");
nxVarMap=Util.if_(nxEqMap>nxVarMap,nxEqMap,nxVarMap);
Matching.matchingExternalsetIncidenceMatrix(nxVarMap,nxEqMap,mx);


Expand Down Expand Up @@ -805,10 +806,10 @@ algorithm
neq = listLength(getEquationsNumber(m));
variables = getVariables(m);
nvar = listLength(variables);
true = neq>=nvar; // The system is squared or overdetermined, do nothing
true = neq>=nvar; // The system is squared or overdetermined do nothing
then
m;
case(_,_)
case(_,_)
equation
neq = listLength(getEquationsNumber(m));
variables = getVariables(m);
Expand Down

0 comments on commit 12348dd

Please sign in to comment.