Skip to content

Commit

Permalink
Removed commented code.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2543 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Sep 25, 2006
1 parent 66cd146 commit 785154e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions c_runtime/simulation_runtime.cpp
Expand Up @@ -857,10 +857,7 @@ double pre(double & var)
{
double* pvar = &var;
long ind;
/* if (globalData->init) { // if during initialization, pre(v) = v
return *pvar;
}
*/

ind = long(pvar - globalData->states);
if (ind >= 0 && ind < globalData->nStates) {
return x_saved[ind];
Expand Down

0 comments on commit 785154e

Please sign in to comment.