Skip to content

Commit bd01515

Browse files
[Janitor mode] Fix whitespace
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22091 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 777ce4c commit bd01515

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

Compiler/BackEnd/BackendVariable.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3510,7 +3510,7 @@ public function getVarAtIndexFirst
35103510
input BackendDAE.Variables inVariables;
35113511
output BackendDAE.Var outVar;
35123512
algorithm
3513-
outVar := getVarAt(inVariables, inInteger);
3513+
outVar := getVarAt(inVariables, inInteger);
35143514
end getVarAtIndexFirst;
35153515

35163516
public function setVarAt

Compiler/BackEnd/HpcOmScheduler.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ end getMaxCommCostsByTaskList;
809809

810810
protected function getMaxCommCostsByTaskList1 "author: marcusw
811811
Check if the communication from parent to the given task (iTask) is higher than the current maximum.
812-
If there is an edge between the nodes and it has an higher required time, then the output
812+
If there is an edge between the nodes and it has an higher required time, then the output
813813
value is updated. Otherwise the function returns the current maximum."
814814
input tuple<HpcOmSimCode.Task,Integer> iTask;
815815
input HpcOmSimCode.Task iParentTask;

Compiler/BackEnd/HpcOmTaskGraph.mo

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ end createTaskGraph1;
483483

484484
protected function flattenRefCounter "author: marcusw
485485
Flat the given ref counter from <nodeIdx, numInts, numFloats, numBools> to <nodeIdx, (numInts + numFloats + numBools)."
486-
input tuple<Integer,Integer,Integer,Integer> iRefCounter;
486+
input tuple<Integer,Integer,Integer,Integer> iRefCounter;
487487
output tuple<Integer,Integer> oRefCounter;
488488
protected
489489
Integer nodeIdx, numInts, numFloats, numBools;
@@ -903,7 +903,7 @@ algorithm
903903
((sccIdx,_,_)) = arrayGet(iVarCompMapping,varIdx);
904904
((intVars, floatVars, boolVars)) = arrayGet(iRequiredSccs, sccIdx);
905905
tmpRequiredSccs = arrayUpdate(tmpRequiredSccs,sccIdx,(intVars+1, floatVars, boolVars));
906-
then tmpRequiredSccs;
906+
then tmpRequiredSccs;
907907
case ((varIdx,1),2,_,tmpRequiredSccs)
908908
equation
909909
((sccIdx,_,_)) = arrayGet(iVarCompMapping,varIdx);
@@ -915,7 +915,7 @@ algorithm
915915
((sccIdx,_,_)) = arrayGet(iVarCompMapping,varIdx);
916916
((intVars, floatVars, boolVars)) = arrayGet(iRequiredSccs, sccIdx);
917917
tmpRequiredSccs = arrayUpdate(tmpRequiredSccs,sccIdx,(intVars, floatVars, boolVars+1));
918-
then tmpRequiredSccs;
918+
then tmpRequiredSccs;
919919
else iRequiredSccs;
920920
end match;
921921
end fillSccList;
@@ -2566,8 +2566,8 @@ public function convertToGraphMLSccLevelSubgraph "author: marcusw, waurich
25662566
output GraphML.GraphInfo oGraphInfo;
25672567
protected
25682568
GraphML.GraphInfo graphInfo;
2569-
Integer nameAttIdx, calcTimeAttIdx, opCountAttIdx, yCoordAttIdx, taskIdAttIdx, commCostAttIdx,
2570-
commVarsAttIdx, commVarsIntAttIdx, commVarsFloatAttIdx, commVarsBoolAttIdx, critPathAttIdx,
2569+
Integer nameAttIdx, calcTimeAttIdx, opCountAttIdx, yCoordAttIdx, taskIdAttIdx, commCostAttIdx,
2570+
commVarsAttIdx, commVarsIntAttIdx, commVarsFloatAttIdx, commVarsBoolAttIdx, critPathAttIdx,
25712571
simCodeEqAttIdx, threadIdAttIdx, taskNumberAttIdx, annotAttIdx;
25722572
list<Integer> nodeIdc;
25732573
algorithm
@@ -2591,11 +2591,11 @@ algorithm
25912591
(graphInfo,(_,critPathAttIdx)) = GraphML.addAttribute("", "CriticalPath", GraphML.TYPE_STRING(), GraphML.TARGET_GRAPH(), graphInfo);
25922592
graphInfo = GraphML.addGraphAttributeValue((critPathAttIdx, criticalPathInfo), iGraphIdx, graphInfo);
25932593
nodeIdc = List.intRange(arrayLength(iGraph));
2594-
((graphInfo,_)) = List.fold4(nodeIdc, addNodeToGraphML, (iGraph, iGraphData),
2595-
(nameAttIdx,opCountAttIdx,calcTimeAttIdx,taskIdAttIdx,yCoordAttIdx,commCostAttIdx,commVarsAttIdx,
2596-
commVarsIntAttIdx,commVarsFloatAttIdx,commVarsBoolAttIdx,simCodeEqAttIdx,threadIdAttIdx,taskNumberAttIdx,annotAttIdx),
2597-
sccSimEqMapping,
2598-
(iCriticalPath,iCriticalPathWoC,schedulerInfo, annotationInfo),
2594+
((graphInfo,_)) = List.fold4(nodeIdc, addNodeToGraphML, (iGraph, iGraphData),
2595+
(nameAttIdx,opCountAttIdx,calcTimeAttIdx,taskIdAttIdx,yCoordAttIdx,commCostAttIdx,commVarsAttIdx,
2596+
commVarsIntAttIdx,commVarsFloatAttIdx,commVarsBoolAttIdx,simCodeEqAttIdx,threadIdAttIdx,taskNumberAttIdx,annotAttIdx),
2597+
sccSimEqMapping,
2598+
(iCriticalPath,iCriticalPathWoC,schedulerInfo, annotationInfo),
25992599
(graphInfo,iGraphIdx));
26002600
then graphInfo;
26012601
end match;
@@ -5221,7 +5221,7 @@ algorithm
52215221
end matchcontinue;
52225222
end transposeCommCosts1;
52235223

5224-
//TODO: Can this be merged with getCommCostBetweenNodes?
5224+
//TODO: Can this be merged with getCommCostBetweenNodes?
52255225
public function getCommunicationCost " gets the communication cost for an edge from parent node to child node.
52265226
REMARK: use the primal indeces!!!!!!
52275227
author: waurich TUD 2013-06."

0 commit comments

Comments
 (0)