Skip to content

Commit 209b453

Browse files
committed
Fix braces
1 parent 353068e commit 209b453

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Generators/src/GeneratorPythia8.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,10 @@ void GeneratorPythia8::getNpart(const Pythia8::Info& info, int& nPart)
380380
#else
381381
auto hiinfo = info.hiInfo;
382382
#endif
383-
if (hiinfo)
383+
if (hiinfo) {
384384
nPart = (hiinfo->nAbsProj() + hiinfo->nDiffProj() +
385385
hiinfo->nAbsTarg() + hiinfo->nDiffTarg());
386+
}
386387

387388
int nProtonProj, nNeutronProj, nProtonTarg, nNeutronTarg;
388389
getNpart(info, nProtonProj, nNeutronProj, nProtonTarg, nNeutronTarg);

0 commit comments

Comments
 (0)