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@21245 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Jun 23, 2014
1 parent 129cfad commit 1df5178
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/HpcOmSimCodeMain.mo
Expand Up @@ -382,7 +382,7 @@ algorithm
(taskGraph1,taskGraphMeta1,changed1) = HpcOmTaskGraph.mergeSimpleNodes(taskGraph1,taskGraphMeta1,inBackendDAE);
(taskGraph1,taskGraphMeta1,changed2) = HpcOmTaskGraph.mergeParentNodes(taskGraph1, taskGraphMeta1);
(taskGraph1,taskGraphMeta1,changed3) = HpcOmTaskGraph.mergeSingleNodes(taskGraph1, taskGraphMeta1);

(taskGraph1,taskGraphMeta1) = applyFiltersToGraph(taskGraph1,taskGraphMeta1,inBackendDAE,changed1 or changed2 or changed3);
then (taskGraph1,taskGraphMeta1);
else (iTaskGraph, iTaskGraphMeta);
Expand Down
6 changes: 3 additions & 3 deletions Compiler/BackEnd/HpcOmTaskGraph.mo
Expand Up @@ -3028,7 +3028,7 @@ algorithm
idcsLst1 = List.intRange2(numClusters-diff+1,numClusters);
//print("idcsLst1 "+&stringDelimitList(List.map(idcsLst1,intString),"\n")+&"\n");
//print("idcsLst2 "+&stringDelimitList(List.map(idcsLst2,intString),"\n")+&"\n");

// update the clusters array
entries = List.map1(idcsLst2,Util.arrayGetIndexFirst,clusters);
entries = listReverse(entries);
Expand All @@ -3042,7 +3042,7 @@ algorithm
List.threadMap1_0(idcsLst1,values,Util.arrayUpdateIndexFirst,clusterValues);
// finish
//print("clustersOut "+&stringDelimitList(List.map(arrayList(clusters),intLstString),"\n")+&"\n");

(clusters,clusterValues) = distributeToClusters1((lst1,valuesIn),(clusters,clusterValues),numClusters);
then (clusters,clusterValues);
case((itemsIn,valuesIn),(clusters,clusterValues),_)
Expand All @@ -3056,7 +3056,7 @@ algorithm
lst2 = listReverse(lst2);
// update the clusters array
//print("clustersIn "+&stringDelimitList(List.map(arrayList(clusters),intLstString),"\n")+&"\n");

idcsLst2 = List.intRange2(intDiv(numCl,2)+1,listLength(itemsIn));
idcsLst1_2 = List.intRange2(intDiv(numCl,2)-listLength(idcsLst2)+1, intDiv(numCl,2));
//print("idcsLst2 "+&stringDelimitList(List.map(idcsLst2,intString),"\n")+&"\n");
Expand Down

0 comments on commit 1df5178

Please sign in to comment.