From 67f6dcb633ca620afda7f7e3a21bfbef832ef2d5 Mon Sep 17 00:00:00 2001 From: Christian Date: Thu, 2 May 2019 13:44:52 +0200 Subject: [PATCH] Removed Warning, for no Interaction for Particle Species, since Testcases trigger all the time. Prob rework, so only warn once. --- src/mc_electron/interaction_species.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mc_electron/interaction_species.cpp b/src/mc_electron/interaction_species.cpp index ea61b0e..620ea19 100644 --- a/src/mc_electron/interaction_species.cpp +++ b/src/mc_electron/interaction_species.cpp @@ -30,12 +30,12 @@ InteractionOut ParticleInteractions::do_Interaction(Particle *interPart) const { double ParticleInteractions::get_macroSigma_m2(const Particle &interPart) const { double macroSigma_m2 = 0; - if (empty()) { - cout<<"Warning: No Interaction for Particle of Type "<get_macroSigma_m2(interPart); } + } else { + //cout<<"Warning: No Interaction for Particle of Type "<