-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8794 from Dominic-Stafford/hw_MB_seg_fault_fix
Add fix for segfault in Min Bias
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff -ur Herwig-7.2.1/MatrixElement/Hadron/MEDiffraction.cc Herwig-7.2.1_patched/MatrixElement/Hadron/MEDiffraction.cc | ||
--- Herwig-7.2.1/MatrixElement/Hadron/MEDiffraction.cc 2023-10-19 19:10:16.254957366 +0200 | ||
+++ Herwig-7.2.1_patched/MatrixElement/Hadron/MEDiffraction.cc 2023-10-19 19:14:18.639389061 +0200 | ||
@@ -620,7 +620,7 @@ | ||
// given by the MPIHandler. | ||
|
||
// First get the eventhandler to get the current cross sections. | ||
- static Ptr<StandardEventHandler>::tptr eh = | ||
+ Ptr<StandardEventHandler>::tptr eh = | ||
dynamic_ptr_cast<Ptr<StandardEventHandler>::tptr>(generator()->eventHandler()); | ||
|
||
// All diffractive processes make use of this ME. | ||
diff -ur Herwig-7.2.1/MatrixElement/MEMinBias.cc Herwig-7.2.1_patched/MatrixElement/MEMinBias.cc | ||
--- Herwig-7.2.1/MatrixElement/MEMinBias.cc 2023-10-19 19:08:46.414751420 +0200 | ||
+++ Herwig-7.2.1_patched/MatrixElement/MEMinBias.cc 2023-10-19 19:14:19.199390134 +0200 | ||
@@ -113,7 +113,7 @@ | ||
// given by the MPIHandler. | ||
|
||
// First get the eventhandler to get the current cross sections. | ||
- static Ptr<StandardEventHandler>::tptr eh = | ||
+ Ptr<StandardEventHandler>::tptr eh = | ||
dynamic_ptr_cast<Ptr<StandardEventHandler>::tptr>(generator()->eventHandler()); | ||
|
||
// All diffractive processes make use of this ME. |