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@23827 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Dec 17, 2014
1 parent b3bbecf commit 057f79d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Compiler/BackEnd/HpcOmEqSystems.mo
Expand Up @@ -259,7 +259,7 @@ algorithm
varLstRepl = List.map(varLst, BackendVariable.transformXToXd);
derRepl = BackendVarTransform.emptyReplacements(); // to retransform $DER. to der(.) in the new equations
derRepl = List.threadFold(varLst,varLstRepl,addDerReplacement,derRepl);

//BackendDump.dumpVarList(varLst,"varLst");
//BackendDump.dumpEquationList(eqLst,"eqLst");

Expand All @@ -268,7 +268,7 @@ algorithm
//dumpEqSys(syst);
(eqsNew,addEqs,addVars) = CramerRule(syst);
(eqsNew,_) = BackendVarTransform.replaceEquations(eqsNew,derRepl,NONE());//introduce der(.) for $DER.

//BackendDump.dumpEquationList(eqsNew,"eqsNew");
//BackendDump.dumpVarList(addVars,"addVars");
//BackendDump.dumpEquationList(addEqs,"addEqs");
Expand Down Expand Up @@ -511,7 +511,7 @@ algorithm

tVarsOut := tvarsReplaced;
resEqsOut := hs;

// some optimization
(eqsNewOut,varsNewOut,resEqsOut) := simplifyNewEquations(eqsNewOut,varsNewOut,resEqsOut,listLength(List.flatten(arrayList(xa_iArr))),2);

Expand Down
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenFMU.tpl
Expand Up @@ -2388,7 +2388,7 @@ case FMIIMPORT(fmiInfo=INFO(__),fmiExperimentAnnotation=EXPERIMENTANNOTATION(__)
function fmi2EnterInitialization
input FMI2ModelExchange fmi2me;
input Real inFlowVariable;
output Real outFlowVariable = inFlowVariable;
output Real outFlowVariable = inFlowVariable;
external "C" fmi2EnterInitializationModel_OMC(fmi2me) annotation(Library = {"OpenModelicaFMIRuntimeC", "fmilib"<%if stringEq(platform, "win32") then ", \"shlwapi\""%>});
end fmi2EnterInitialization;

Expand Down

0 comments on commit 057f79d

Please sign in to comment.