Skip to content

Commit

Permalink
-removed boost bind
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22504 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
RuedKamp committed Sep 30, 2014
1 parent 4214eeb commit 377b9e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SimulationRuntime/cpp/Core/System/EventHandling.cpp
Expand Up @@ -26,14 +26,14 @@ EventHandling::~EventHandling(void)
/**
Inits the event variables
*/
void EventHandling::initialize(IEvent* system,int dim,init_prevars_type init_prevars)
void EventHandling::initialize(IEvent* system,int dim)
{
// _dimH=dim;
_event_system=system;
_countinous_system = dynamic_cast<IContinuous*>(_event_system);
_mixed_system= dynamic_cast<IMixedSystem*>(_event_system);

init_prevars(_pre_vars_idx,_pre_discrete_vars_idx);
_event_system->initPreVars(_pre_vars_idx,_pre_discrete_vars_idx);
_pre_vars.resize((boost::extents[_pre_vars_idx.size()]));
_pre_discrete_vars.resize((boost::extents[_pre_discrete_vars_idx.size()]));
/*if(_dimH > 0)
Expand All @@ -52,6 +52,7 @@ void EventHandling::initialize(IEvent* system,int dim,init_prevars_type init_pre
_conditions0 = new bool[_event_system->getDimZeroFunc()];
_conditions1 = new bool[_event_system->getDimZeroFunc()];
}

/**
Returns the help vector
*/
Expand Down

0 comments on commit 377b9e2

Please sign in to comment.