diff --git a/models/aeif_cond_alpha.cpp b/models/aeif_cond_alpha.cpp index 4f4d2a7524..dc8298bc3e 100644 --- a/models/aeif_cond_alpha.cpp +++ b/models/aeif_cond_alpha.cpp @@ -384,9 +384,9 @@ nest::aeif_cond_alpha::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.s_ ) { diff --git a/models/aeif_cond_alpha_astro.cpp b/models/aeif_cond_alpha_astro.cpp index 949f07b6d3..9b073b5487 100644 --- a/models/aeif_cond_alpha_astro.cpp +++ b/models/aeif_cond_alpha_astro.cpp @@ -386,9 +386,9 @@ nest::aeif_cond_alpha_astro::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.s_ ) { diff --git a/models/aeif_cond_alpha_multisynapse.cpp b/models/aeif_cond_alpha_multisynapse.cpp index 01dde98917..f027713973 100644 --- a/models/aeif_cond_alpha_multisynapse.cpp +++ b/models/aeif_cond_alpha_multisynapse.cpp @@ -347,7 +347,7 @@ aeif_cond_alpha_multisynapse::Buffers_::Buffers_( aeif_cond_alpha_multisynapse& , c_( nullptr ) , e_( nullptr ) , step_( Time::get_resolution().get_ms() ) - , IntegrationStep_( std::min( 0.01, step_ ) ) + , IntegrationStep_( step_ ) , I_stim_( 0.0 ) { } @@ -416,9 +416,9 @@ aeif_cond_alpha_multisynapse::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.c_ ) { diff --git a/models/aeif_cond_beta_multisynapse.cpp b/models/aeif_cond_beta_multisynapse.cpp index 786d3d2613..5ef7e10717 100644 --- a/models/aeif_cond_beta_multisynapse.cpp +++ b/models/aeif_cond_beta_multisynapse.cpp @@ -355,7 +355,7 @@ aeif_cond_beta_multisynapse::Buffers_::Buffers_( aeif_cond_beta_multisynapse& n , c_( nullptr ) , e_( nullptr ) , step_( Time::get_resolution().get_ms() ) - , IntegrationStep_( std::min( 0.01, step_ ) ) + , IntegrationStep_( step_ ) , I_stim_( 0.0 ) { } @@ -424,9 +424,9 @@ aeif_cond_beta_multisynapse::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.c_ ) { diff --git a/models/aeif_cond_exp.cpp b/models/aeif_cond_exp.cpp index 9f45e5bbb6..cb0eb86d0c 100644 --- a/models/aeif_cond_exp.cpp +++ b/models/aeif_cond_exp.cpp @@ -379,9 +379,9 @@ nest::aeif_cond_exp::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.s_ ) { diff --git a/models/aeif_psc_alpha.cpp b/models/aeif_psc_alpha.cpp index e8e1ad2b93..b4a1b9c86e 100644 --- a/models/aeif_psc_alpha.cpp +++ b/models/aeif_psc_alpha.cpp @@ -374,9 +374,9 @@ nest::aeif_psc_alpha::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.s_ ) { diff --git a/models/aeif_psc_delta.cpp b/models/aeif_psc_delta.cpp index 5c9122a489..7cafe3ad64 100644 --- a/models/aeif_psc_delta.cpp +++ b/models/aeif_psc_delta.cpp @@ -351,9 +351,9 @@ nest::aeif_psc_delta::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.s_ ) { diff --git a/models/aeif_psc_delta_clopath.cpp b/models/aeif_psc_delta_clopath.cpp index d73405128f..c45158ee77 100644 --- a/models/aeif_psc_delta_clopath.cpp +++ b/models/aeif_psc_delta_clopath.cpp @@ -417,9 +417,9 @@ nest::aeif_psc_delta_clopath::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.s_ ) { diff --git a/models/aeif_psc_exp.cpp b/models/aeif_psc_exp.cpp index 928363340e..6b8aec869c 100644 --- a/models/aeif_psc_exp.cpp +++ b/models/aeif_psc_exp.cpp @@ -369,9 +369,9 @@ nest::aeif_psc_exp::init_buffers_() B_.logger_.reset(); B_.step_ = Time::get_resolution().get_ms(); - - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = + B_.step_; // reasonable initial value for numerical integrator step size; this will anyway be overwritten by + // gsl_odeiv_evolve_apply(), but it might confuse the integrator if it contains uninitialised data if ( not B_.s_ ) { diff --git a/models/glif_cond.cpp b/models/glif_cond.cpp index 35fe0d47d9..23b2d61fce 100644 --- a/models/glif_cond.cpp +++ b/models/glif_cond.cpp @@ -465,7 +465,7 @@ nest::glif_cond::Buffers_::Buffers_( glif_cond& n ) , c_( nullptr ) , e_( nullptr ) , step_( Time::get_resolution().get_ms() ) - , IntegrationStep_( std::min( 0.01, step_ ) ) + , IntegrationStep_( step_ ) , I_( 0.0 ) { } @@ -534,8 +534,7 @@ nest::glif_cond::init_buffers_() B_.logger_.reset(); // includes resize B_.step_ = Time::get_resolution().get_ms(); - // We must integrate this model with high-precision to obtain decent results - B_.IntegrationStep_ = std::min( 0.01, B_.step_ ); + B_.IntegrationStep_ = B_.step_; // initial value for numerical integrator step size; this will anyway be overwritten by gsl_odeiv_evolve_apply() if ( not B_.c_ ) {