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@25263 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Mar 25, 2015
1 parent 450ee5e commit b7d3ed7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -2164,7 +2164,7 @@ algorithm
funcs := getFunctions(shared);
(_, m, _, _, mapIncRowEqn) := getIncidenceMatrixScalar(iSyst, BackendDAE.SPARSE(), SOME(funcs));


indx_arr := markStateEquationsWork(indx_lst_e, {}, m, ass1, indx_arr);
ind_mark := arrayList(indx_arr);

Expand All @@ -2186,9 +2186,9 @@ algorithm

vl := BackendEquation.equationsVars(arrEqs, v);
vars := BackendVariable.listVar1(vl);

oSyst := BackendDAE.EQSYSTEM(vars, arrEqs, NONE(), NONE(), BackendDAE.NO_MATCHING(), {}, partitionKind);

end reduceEqSystem;


Expand Down Expand Up @@ -7677,7 +7677,7 @@ algorithm
(SymbolicJacobian.detectSparsePatternODE, "detectJacobianSparsePattern", false),
(Tearing.tearingSystem, "tearingSystem", false),
(DynamicOptimization.removeLoops, "extendDynamicOptimization", false),
(DynamicOptimization.reduceDynamicOptimization, "reduceDynamicOptimization", false),
(DynamicOptimization.reduceDynamicOptimization, "reduceDynamicOptimization", false),
(HpcOmEqSystems.partitionLinearTornSystem, "partlintornsystem", false),
(BackendDAEOptimize.addInitialStmtsToAlgorithms, "addInitialStmtsToAlgorithms", false),
(SymbolicJacobian.calculateStrongComponentJacobians, "calculateStrongComponentJacobians", false),
Expand Down
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendEquation.mo
Expand Up @@ -1337,7 +1337,7 @@ algorithm
end match;
end requationsAddDAE;

public function removeRemovedEqs
public function removeRemovedEqs
"
remove removedEqs
"
Expand All @@ -1359,7 +1359,7 @@ protected
Integer n;
algorithm
(BackendDAE.SHARED(knvars, exobj, aliasVars, inieqns, remeqns, constrs, clsAttrs, cache, env, funcs, einfo, eoc, btp, symjacs, ei)) := inShared;
BackendDAE.EQUATION_ARRAY(numberOfElement=n) := remeqns;
BackendDAE.EQUATION_ARRAY(numberOfElement=n) := remeqns;
for ind in 1:n loop
remeqns := equationRemove(ind, remeqns);
end for;
Expand Down
4 changes: 2 additions & 2 deletions Compiler/BackEnd/DynamicOptimization.mo
Expand Up @@ -687,7 +687,7 @@ public function reduceDynamicOptimization
protected
list<BackendDAE.Var> varlst, opt_varlst, conVarsList, fconVarsList, objMayer = {}, objLagrange = {};
list<BackendDAE.EqSystem> systlst, newsyst = {};
BackendDAE.EqSystem tmpsyst;
BackendDAE.EqSystem tmpsyst;
BackendDAE.Variables v;
BackendDAE.Shared shared;
algorithm
Expand All @@ -696,7 +696,7 @@ algorithm
//BackendDump.bltdump("START:reduceDynamicOptimization", inDAE);
BackendDAE.DAE(systlst, shared) := inDAE;
// ToDo
shared := BackendEquation.removeRemovedEqs(shared);
shared := BackendEquation.removeRemovedEqs(shared);
shared := BackendVariable.removeAliasVars(shared);

for syst in systlst loop
Expand Down

0 comments on commit b7d3ed7

Please sign in to comment.