Skip to content

Commit

Permalink
- Static::enabled is a method, changed to actually calling it Static:…
Browse files Browse the repository at this point in the history
…:enabled()

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@3053 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Jan 16, 2008
1 parent f92a7de commit bca7071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_runtime/simulation_result.cpp
Expand Up @@ -160,7 +160,7 @@ int initializeResult(long numpoints,long nx, long ny, long np)
{
Static::enabled_ = !strcmp(enabled, "1");
}
if(Static::enabled)
if(Static::enabled())
initSendData(globalData->nStates, globalData->nAlgebraic, globalData->statesNames, globalData->stateDerivativesNames, globalData->algebraicsNames);

return 0;
Expand Down

0 comments on commit bca7071

Please sign in to comment.