From 51766e1f87aa24d1dc42152acbb77e6d8df6d3fc Mon Sep 17 00:00:00 2001 From: Remy Prechelt <prechelt@hawaii.edu> Date: Fri, 10 Jul 2020 08:44:08 -1000 Subject: [PATCH] Remove Init() from NullModel. --- Processes/NullModel/NullModel.cc | 2 -- Processes/NullModel/NullModel.h | 2 -- Processes/NullModel/testNullModel.cc | 1 - 3 files changed, 5 deletions(-) diff --git a/Processes/NullModel/NullModel.cc b/Processes/NullModel/NullModel.cc index a5666de98..1a3afc793 100644 --- a/Processes/NullModel/NullModel.cc +++ b/Processes/NullModel/NullModel.cc @@ -13,8 +13,6 @@ using namespace corsika; namespace corsika::process::null_model { - void NullModel::Init() {} - NullModel::NullModel(units::si::LengthType maxStepLength) : fMaxStepLength(maxStepLength) {} diff --git a/Processes/NullModel/NullModel.h b/Processes/NullModel/NullModel.h index 9c9f610b7..ba80599f3 100644 --- a/Processes/NullModel/NullModel.h +++ b/Processes/NullModel/NullModel.h @@ -20,8 +20,6 @@ namespace corsika::process::null_model { NullModel(corsika::units::si::LengthType maxStepLength = corsika::units::si::meter * std::numeric_limits<double>::infinity()); - void Init(); - template <typename Particle, typename Track> process::EProcessReturn DoContinuous(Particle&, Track&) const; diff --git a/Processes/NullModel/testNullModel.cc b/Processes/NullModel/testNullModel.cc index c449c4ac6..653393e11 100644 --- a/Processes/NullModel/testNullModel.cc +++ b/Processes/NullModel/testNullModel.cc @@ -44,7 +44,6 @@ TEST_CASE("NullModel", "[processes]") { NullModel model(10_m); - model.Init(); [[maybe_unused]] const process::EProcessReturn ret = model.DoContinuous(particle, track); LengthType const length = model.MaxStepLength(particle, track); -- GitLab