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@20175 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Apr 16, 2014
1 parent 1c5fc4c commit 4f87cb2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Compiler/BackEnd/SimCodeUtil.mo
Expand Up @@ -1485,7 +1485,7 @@ algorithm
list<tuple<Integer,Integer>> equationSccMapping, eqBackendSimCodeMapping;
Integer highestSimEqIndex;
SimCode.BackendMapping backendMapping;

list<Integer> debugInt1; // can be removed

case (dlow, class_, _, fileDir, _, _, _, _, _, _, _, _) equation
Expand Down Expand Up @@ -1629,7 +1629,7 @@ algorithm

backendMapping = setBackendVarMapping(inBackendDAE,crefToSimVarHT,modelInfo,backendMapping);
//dumpBackendMapping(backendMapping);

simCode = SimCode.SIMCODE(modelInfo,
{}, // Set by the traversal below...
recordDecls,
Expand Down Expand Up @@ -12289,7 +12289,7 @@ algorithm
BackendDAE.DAE(eqs=eqs) = dae;
tpl = List.map(eqs,setUpSystMapping);
sizeE = List.fold(List.map(tpl,Util.tuple61),intAdd,0);
sizeV = List.fold(List.map(tpl,Util.tuple62),intAdd,0);
sizeV = List.fold(List.map(tpl,Util.tuple62),intAdd,0);
eqMap = {};
varMap = {};
eqMatch = arrayCreate(sizeE,0);
Expand Down Expand Up @@ -12584,7 +12584,7 @@ algorithm
bVar := getBackendVarForSimVar(simVar,map);
bEq := arrayGet(varMatch,bVar);
beqs := collectReqSimEqs(bEq,tree,{});
simEqs := List.map1(beqs,getSimEqsForBackendEqs,map);
simEqs := List.map1(beqs,getSimEqsForBackendEqs,map);
simEqs := List.unique(simEqs);
end getReqSimEqsForSimVar;

Expand All @@ -12611,7 +12611,7 @@ author:Waurich TUD 2014-04"
protected
list<tuple<Integer,Integer>> varMapping;
algorithm
SimCode.BACKENDMAPPING(varMapping=varMapping) := map;
SimCode.BACKENDMAPPING(varMapping=varMapping) := map;
((_,bVar)):= List.getMemberOnTrue(simVar,varMapping,findSimVar);
end getBackendVarForSimVar;

Expand All @@ -12623,7 +12623,7 @@ author:Waurich TUD 2014-04"
protected
list<tuple<Integer,list<Integer>>> eqMapping;
algorithm
SimCode.BACKENDMAPPING(eqMapping=eqMapping) := map;
SimCode.BACKENDMAPPING(eqMapping=eqMapping) := map;
((_,bEqs)):= List.getMemberOnTrue(simEq,eqMapping,findSimEqs);
end getBackendEqsForSimEq;

Expand All @@ -12635,7 +12635,7 @@ author:Waurich TUD 2014-04"
protected
list<tuple<Integer,list<Integer>>> eqMapping;
algorithm
SimCode.BACKENDMAPPING(eqMapping=eqMapping) := map;
SimCode.BACKENDMAPPING(eqMapping=eqMapping) := map;
((simEq,_)):= List.getMemberOnTrue(bEq,eqMapping,findBEqs);
end getSimEqsForBackendEqs;

Expand Down

0 comments on commit 4f87cb2

Please sign in to comment.