From 218cfd9d0e6f61d3e58b7980e8c6f00c9336709d Mon Sep 17 00:00:00 2001
From: Felix Riehn <felix@matilda>
Date: Tue, 12 Apr 2022 12:59:19 +0100
Subject: [PATCH] examples

---
 examples/corsika.cpp | 2 +-
 examples/mars.cpp    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/corsika.cpp b/examples/corsika.cpp
index 5cc04e646..68d428ab0 100644
--- a/examples/corsika.cpp
+++ b/examples/corsika.cpp
@@ -321,7 +321,7 @@ int main(int argc, char** argv) {
   HEPEnergyType const hadcut = 50_GeV;
   ParticleCut<SubWriter<decltype(dEdX)>> cut(emcut, emcut, hadcut, hadcut, true, dEdX);
 
-  corsika::proposal::Interaction emCascade(env);
+  corsika::proposal::Interaction emCascade(env, sibyll);
   // NOT available for PROPOSAL due to interface trouble:
   // InteractionCounter emCascadeCounted(emCascade);
   // corsika::proposal::ContinuousProcess<SubWriter<decltype(dEdX)>> emContinuous(env);
diff --git a/examples/mars.cpp b/examples/mars.cpp
index bc7cbd4cf..23acc590e 100644
--- a/examples/mars.cpp
+++ b/examples/mars.cpp
@@ -353,7 +353,7 @@ int main(int argc, char** argv) {
 
   // decaySibyll.printDecayConfig();
 
-  corsika::proposal::Interaction emCascade(env);
+  corsika::proposal::Interaction emCascade(env, sibyll);
   // NOT possible right now, due to interface difference for PROPOSAL:
   //  InteractionCounter emCascadeCounted(emCascade);
   // corsika::proposal::ContinuousProcess<SubWriter<decltype(dEdX)>>
-- 
GitLab