Skip to content

Commit

Permalink
Fixed bug #133 and a missing endResult in simulation3.mos
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2729 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Håkan Lundvall committed Feb 23, 2007
1 parent 817c38c commit ba3d243
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c_runtime/solver_dasrt.cpp
Expand Up @@ -167,7 +167,8 @@ int dassl_main(int argc, char**argv,double &start, double &stop, double &step,
if (sim_verbose) { cout << "Checking events at initialization (at time "<< globalData->timeValue << ")." << endl; }

// Need to check for events at init=1 since e.g. initial() generate event at initialization.
//calcEnabledZeroCrossings();
//calcEnabledZeroCrossings();
function_updateDependents();
CheckForInitialEvents(&globalData->timeValue);
StartEventIteration(&globalData->timeValue);

Expand Down

0 comments on commit ba3d243

Please sign in to comment.