From 5a11aa10790c0ad9e1f5d8e9290e3d67dfd446da Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@kit.edu> Date: Mon, 13 Jul 2020 18:25:12 +0200 Subject: [PATCH] cegs(1,1) to avoid FPE --- Processes/CONEXSourceCut/CONEXSourceCut.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processes/CONEXSourceCut/CONEXSourceCut.cc b/Processes/CONEXSourceCut/CONEXSourceCut.cc index 078d6d014..dcedc5259 100644 --- a/Processes/CONEXSourceCut/CONEXSourceCut.cc +++ b/Processes/CONEXSourceCut/CONEXSourceCut.cc @@ -122,7 +122,7 @@ void CONEXSourceCut::addParticle(int egs_pid, HEPEnergyType energy, conex::cxoptl_.dptl[1 - 1] = v; conex::cxoptl_.dptl[3 - 1] = w; - int n = 0, i = 0; + int n = 1, i = 1; conex::cegs4_(n, i); } -- GitLab