Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hans Ekkehard Plesser <hans.ekkehard.plesser@nmbu.no>
  • Loading branch information
heshpdx and heplesser authored Sep 3, 2024
1 parent 47ef5ca commit 2a8c7f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nestkernel/growth_curve.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ nest::GrowthCurveGaussian::GrowthCurveGaussian()
, eta_( 0.1 )
, eps_( 0.7 )
{
compute_local();
compute_local_();
}

void
Expand All @@ -94,7 +94,7 @@ nest::GrowthCurveGaussian::set( const DictionaryDatum& d )
{
updateValue< double >( d, names::eps, eps_ );
updateValue< double >( d, names::eta, eta_ );
compute_local();
compute_local_();
}

double
Expand Down Expand Up @@ -124,7 +124,7 @@ nest::GrowthCurveGaussian::update( double t,
}

void
nest::GrowthCurveGaussian::compute_local()
nest::GrowthCurveGaussian::compute_local_()
{
inv_zeta_ = 2.0 * numerics::sqrt_log_two / ( eta_ - eps_ );
xi_ = ( eta_ + eps_ ) * 0.5;
Expand Down
2 changes: 1 addition & 1 deletion nestkernel/growth_curve.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class GrowthCurveGaussian : public GrowthCurve
update( double t, double t_minus, double Ca_minus, double z, double tau_Ca, double growth_rate ) const override;

private:
void compute_local();
void compute_local_();

double eta_;
double eps_;
Expand Down

0 comments on commit 2a8c7f8

Please sign in to comment.