Skip to content

Commit

Permalink
RML fixes
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19933 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 2, 2014
1 parent 053a363 commit 812018a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Compiler/BackEnd/HpcOmTaskGraph.mo
Expand Up @@ -5781,8 +5781,8 @@ algorithm
case ((fromnode,tonode,cost),_,_,_,_)
equation
true = intEq(fromnode,actnode);
arrayUpdate(adjwgt,imarker,cost);
arrayUpdate(adjncy,imarker,tonode-1);
_ = arrayUpdate(adjwgt,imarker,cost);
_ = arrayUpdate(adjncy,imarker,tonode-1);
then
imarker+1;
case (_,_,_,_,_)
Expand All @@ -5802,7 +5802,7 @@ protected
Integer position;
algorithm
omarker := List.fold3(help,sortEdgeHelp,actnode,adjncy,adjwgt,imarker);
arrayUpdate(xadj,actnode+1,omarker-1);
_ := arrayUpdate(xadj,actnode+1,omarker-1);
end sortEdge;


Expand All @@ -5816,7 +5816,7 @@ protected
algorithm
value:=getExeCost(node,iTaskGraphMeta);
(_,rv):=value;
arrayUpdate(vwgt,node,realInt(rv));
_:=arrayUpdate(vwgt,node,realInt(rv));
end setVwgt;

public function prepareMetis
Expand Down

0 comments on commit 812018a

Please sign in to comment.