Skip to content

Commit

Permalink
Tail recursion
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17857 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 24, 2013
1 parent e234a04 commit 24eb7bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendDAEOptimize.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2435,7 +2435,7 @@ protected function getSparsePattern
input BackendDAE.IncidenceMatrix inMatrixT;
output array<list<Integer>> outSparsePattern;
algorithm
outSparsePattern := matchcontinue(inComponents, ineqnSparse, invarSparse, inMark, inUsed, inmarkValue, inMatrix, inMatrixT)
outSparsePattern := match (inComponents, ineqnSparse, invarSparse, inMark, inUsed, inmarkValue, inMatrix, inMatrixT)
local
list<Integer> vars, vars1, vars2, eqns, eqns1, eqns2;
list<Integer> inputVars;
Expand Down Expand Up @@ -2573,7 +2573,7 @@ algorithm
BackendDump.dumpComponent(comp);
Error.addMessage(Error.INTERNAL_ERROR, {"BackendDAEOptimize.getSparsePattern failed"});
then fail();
end matchcontinue;
end match;
end getSparsePattern;

protected function getSparsePattern2
Expand Down

0 comments on commit 24eb7bf

Please sign in to comment.