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@22427 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 24, 2014
1 parent 4d4ba62 commit c6d215b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Compiler/BackEnd/HpcOmEqSystems.mo
Expand Up @@ -1814,8 +1814,8 @@ algorithm
compEqLst = List.map1(eqIdcs,List.getIndexFirst,eqsIn);
compVarLst = List.map1(varIdcs,List.getIndexFirst,varsIn);
compVars = BackendVariable.listVar1(compVarLst);
compEqs = BackendEquation.listEquation(compEqLst);
compEqs = BackendEquation.listEquation(compEqLst);

// get incidence matrix
numEqs = listLength(compEqLst);
numVars = listLength(compVarLst);
Expand Down Expand Up @@ -1861,8 +1861,8 @@ algorithm
numVars := BackendVariable.varsSize(varsIn);
varRange := List.intRange(numVars);
eqRange := List.intRange(numEqs);
graphInfo := GraphML.createGraphInfo();
(graphInfo,(_,graphIdx)) := GraphML.addGraph("EqSystemGraph", true, graphInfo);
graphInfo := GraphML.createGraphInfo();
(graphInfo,(_,graphIdx)) := GraphML.addGraph("EqSystemGraph", true, graphInfo);
(graphInfo,(_,typeAttIdx)) := GraphML.addAttribute("", "type", GraphML.TYPE_STRING(), GraphML.TARGET_NODE(), graphInfo);
(graphInfo,(_,nameAttIdx)) := GraphML.addAttribute("", "name", GraphML.TYPE_STRING(), GraphML.TARGET_NODE(), graphInfo);
(graphInfo,(_,idxAttIdx)) := GraphML.addAttribute("", "systIdx", GraphML.TYPE_STRING(), GraphML.TARGET_NODE(), graphInfo);
Expand Down Expand Up @@ -1932,7 +1932,7 @@ algorithm
{eq} := BackendEquation.getEqns({indx}, eqs);
eqString := BackendDump.equationString(eq);
eqNodeId := getEqNodeIdx(indx);
idxString := intString(indx);
idxString := intString(indx);
nodeLabel := GraphML.NODELABEL_INTERNAL(idxString,NONE(),GraphML.FONTPLAIN());
(graphInfo,_) := GraphML.addNode(eqNodeId,GraphML.COLOR_GREEN2,{nodeLabel},GraphML.RECTANGLE(),SOME(eqString),{(nameAttrIdx,eqString),(typeAttrIdx,typeStr),(idxAttrIdx,daeIdxStr)},graphIdx,graphInfo);
graphInfoOut := (graphInfo,graphIdx);
Expand Down

0 comments on commit c6d215b

Please sign in to comment.