diff --git a/Framework/Cascade/Cascade.h b/Framework/Cascade/Cascade.h index 547c2604a68c660b3ee202e2501279bf91edfabd..99c28b6c97819a7d6c2a92bb21590aa9244fcae6 100644 --- a/Framework/Cascade/Cascade.h +++ b/Framework/Cascade/Cascade.h @@ -263,10 +263,10 @@ namespace corsika::cascade { InverseTimeType inv_decay_count = 0 / second; fProcessSequence.SelectDecay(vParticle, projectile, sample_process, inv_decay_count); - // make sure particle actually did decay if it should have done so - if (secondaries.GetSize() == 1 && - projectile.GetPID() == secondaries.GetNextParticle().GetPID()) - throw std::runtime_error("Cascade::Step: Particle decays into itself!"); + // make sure particle actually did decay if it should have done so + if (secondaries.GetSize() == 1 && + projectile.GetPID() == secondaries.GetNextParticle().GetPID()) + throw std::runtime_error("Cascade::Step: Particle decays into itself!"); } fProcessSequence.DoSecondaries(secondaries); @@ -277,7 +277,7 @@ namespace corsika::cascade { // be "protected" and not accessible to physics } else { // step-length limitation within volume - + std::cout << "step-length limitation" << std::endl; fProcessSequence.DoSecondaries(secondaries); } diff --git a/Processes/Sibyll/Decay.h b/Processes/Sibyll/Decay.h index feb2309dad14443a364023ec9f013987be58a673..05bc0186ee6b2b4231d540cf8a1ccb209f65994d 100644 --- a/Processes/Sibyll/Decay.h +++ b/Processes/Sibyll/Decay.h @@ -57,7 +57,7 @@ namespace corsika::process { }; } // namespace sibyll - + } // namespace corsika::process #endif diff --git a/Processes/Sibyll/testSibyll.cc b/Processes/Sibyll/testSibyll.cc index 17706ebd8f659d998be5c1d547786de2411b5e85..b0099568795e074ce6bc72e2635eaa1a35c84344 100644 --- a/Processes/Sibyll/testSibyll.cc +++ b/Processes/Sibyll/testSibyll.cc @@ -163,14 +163,13 @@ TEST_CASE("SibyllInterface", "[processes]") { auto projectile = view.GetProjectile(); Decay model; - + model.Init(); /*[[maybe_unused]] const process::EProcessReturn ret =*/model.DoDecay(projectile); // run checks [[maybe_unused]] const TimeType time = model.GetLifetime(particle); } - SECTION("DecayConfiguration") { Decay model;