Skip to content

Commit 20b8482

Browse files
[Janitor mode] Fix whitespace
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24125 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 1c56877 commit 20b8482

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Compiler/Template/CodegenCpp.tpl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2601,14 +2601,14 @@ match simCode
26012601
{
26022602
if(__Asparse == NULL)
26032603
__Asparse = new sparse_inserter;
2604-
2604+
26052605
evaluate(__Asparse);
26062606
}
26072607
else
26082608
{
26092609
if(! __A )
26102610
__A = boost::shared_ptr<AMATRIX>( new AMATRIX());
2611-
2611+
26122612
evaluate(__A.get());
26132613
}
26142614
}
@@ -4207,9 +4207,9 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
42074207
void <%lastIdentOfPath(modelInfo.name)%>Initialize::initialize()
42084208
{
42094209
<%generateAlgloopsolvers( listAppend(allEquations,initialEquations),simCode , &extraFuncs , &extraFuncsDecl, extraFuncsNamespace)%>
4210-
4210+
42114211
initializeAlgloopSolverVariables();
4212-
4212+
42134213
_simTime = 0.0;
42144214
/*variable decls*/
42154215
<%varDecls%>
@@ -4231,28 +4231,28 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
42314231

42324232
initializeStateVars();
42334233
initializeDerVars();
4234-
4234+
42354235
<%initFunctions%>
4236-
4236+
42374237
//_event_handling.initialize(this,<%helpvarlength(simCode , &extraFuncs , &extraFuncsDecl, extraFuncsNamespace)%>,boost::bind(&<%lastIdentOfPath(modelInfo.name)%>::initPreVars, this, _1,_2));
42384238
_event_handling.initialize(this,<%helpvarlength(simCode , &extraFuncs , &extraFuncsDecl, extraFuncsNamespace)%>);
42394239

42404240
//init event handling
42414241
<%initEventHandling%>
42424242
//init alg loop vars
42434243
<%initAlgloopvars%>
4244-
4244+
42454245
//init equations
42464246
initEquations();
4247-
4247+
42484248
//init alg loop solvers
42494249
<%initAlgloopSolvers%>
4250-
4250+
42514251
for(int i=0;i<_dimZeroFunc;i++)
42524252
{
42534253
getCondition(i);
42544254
}
4255-
4255+
42564256
//initialAnalyticJacobian();
42574257
saveAll();
42584258

0 commit comments

Comments
 (0)