Skip to content

Commit

Permalink
Restore check on weightNames for gen weights
Browse files Browse the repository at this point in the history
  • Loading branch information
kdlong committed Jul 22, 2020
1 parent 80ad1d0 commit 808d586
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GeneratorInterface/Core/src/GenWeightHelper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ namespace gen {
int index = 0;

// If size is 1, it's just the central weight
//if (weightNames.size() <= 1)
// return;
if (weightNames.size() <= 1)
return;

for (std::string weightName : weightNames) {
if (weightName.find("LHE") != std::string::npos) {
Expand Down

0 comments on commit 808d586

Please sign in to comment.