From c76f8b49458ea0d23ad697795d27511a73059113 Mon Sep 17 00:00:00 2001 From: Felix Riehn <friehn@lip.pt> Date: Fri, 9 Aug 2024 19:14:36 +0200 Subject: [PATCH] return cross sections in correct order: inel, ela --- corsika/detail/modules/pythia8/Interaction.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corsika/detail/modules/pythia8/Interaction.inl b/corsika/detail/modules/pythia8/Interaction.inl index f24d1b7e2..822679034 100644 --- a/corsika/detail/modules/pythia8/Interaction.inl +++ b/corsika/detail/modules/pythia8/Interaction.inl @@ -195,7 +195,7 @@ namespace corsika::pythia8 { CrossSectionType const xsEl = crossSectionPPElastic_.interpolate(Elab); CrossSectionType const xsInel = crossSectionPPInelastic_.interpolate(Elab); - return std::pair{xsEl, xsInel}; + return std::pair{xsInel, xsEl}; } CrossSectionType InteractionModel::getCrossSection(Code const projectileId, -- GitLab