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@20793 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed May 23, 2014
1 parent 1e3c1e6 commit f7efea4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Compiler/BackEnd/IndexReduction.mo
Expand Up @@ -2229,7 +2229,7 @@ algorithm
Debug.fcall(Flags.BLT_DUMP, BackendDump.dumpMatching, indexmap);
Debug.fcall(Flags.BLT_DUMP, print, "\n states index maping inverse\n");
Debug.fcall(Flags.BLT_DUMP, BackendDump.dumpMatching, invindexmap);

// BackendDump.dumpMatching(indexmap);
m1 = arrayCreate(ne1,{});
mT1 = arrayCreate(nv1,{});
Expand All @@ -2243,11 +2243,11 @@ algorithm
// match the variables not the equations, to have prevered states unmatched
vec1 = Util.arrayExpand(nfreeStates,ass1,-1);
vec2 = Util.arrayExpand(neqns,ass2,-1);

Debug.fcall(Flags.BLT_DUMP, print, "\nbefore matching\n");
Debug.fcall(Flags.BLT_DUMP, BackendDump.dumpMatching, vec1);
Debug.fcall(Flags.BLT_DUMP, BackendDump.dumpMatching, vec2);

true = BackendDAEEXT.setAssignment(nv1,ne1,vec1,vec2);
Matching.matchingExternalsetIncidenceMatrix(ne1, nv1, mT1);
BackendDAEEXT.matching(ne1, nv1, 3, -1, 0.0, 0);
Expand All @@ -2256,7 +2256,7 @@ algorithm
Debug.fcall(Flags.BLT_DUMP, print, "\nafter matching\n");
Debug.fcall(Flags.BLT_DUMP, BackendDump.dumpMatching, vec1);
Debug.fcall(Flags.BLT_DUMP, BackendDump.dumpMatching, vec2);

comps = BackendDAETransform.tarjanAlgorithm(mT1,vec2);
// remove blocks without differentiated equations
comps = List.select1(comps, selectBlock, ne);
Expand Down

0 comments on commit f7efea4

Please sign in to comment.