Skip to content

Commit

Permalink
Update TopRecoilHook.h
Browse files Browse the repository at this point in the history
Fix suggested by PR 42313. Removes useless check.
  • Loading branch information
vslokenb authored Jul 27, 2023
1 parent 34fa819 commit f4e5c6c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions GeneratorInterface/Pythia8Interface/plugins/TopRecoilHook.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ namespace Pythia8 {
}

// Destructor prints histogram.
~TopRecoilHook() override {
if (doTopRecoil)
;
delete wtCorr;
}
~TopRecoilHook() override { delete wtCorr; }

// Initialise. Only use hook for simple showers with recoilToColoured = off.
bool initAfterBeams() override {
Expand Down

0 comments on commit f4e5c6c

Please sign in to comment.