diff --git a/src/plugins/transfer_eisenstein.cc b/src/plugins/transfer_eisenstein.cc index dbeee2b..f396bf9 100644 --- a/src/plugins/transfer_eisenstein.cc +++ b/src/plugins/transfer_eisenstein.cc @@ -209,12 +209,6 @@ public: */ transfer_eisenstein_plugin(ConfigFile &cf) : TransferFunction_plugin(cf) - { - tf_distinct_ = false; - tf_withvel_ = false; - } - - void initialise() { double Tcmb = pcf_->GetValueSafe("cosmology", "Tcmb", 2.726); double H0 = pcf_->GetValue("cosmology", "H0"); @@ -222,6 +216,9 @@ public: double Omega_b = pcf_->GetValue("cosmology", "Omega_b"); etf_.set_parameters(H0, Omega_m, Omega_b, Tcmb); + + tf_distinct_ = false; + tf_withvel_ = false; } //! Computes the transfer function for k in Mpc/h by calling TFfit_onek @@ -262,10 +259,6 @@ protected: public: transfer_eisenstein_wdm_plugin(ConfigFile &cf) : TransferFunction_plugin(cf) - { - } - - void initialise() { double Tcmb = pcf_->GetValueSafe("cosmology", "Tcmb", 2.726); omegam_ = pcf_->GetValue("cosmology", "Omega_m");