Skip to content

Commit

Permalink
Merge pull request #61 from willp240/addysts_fix
Browse files Browse the repository at this point in the history
Avoid Adding Syst to Systman Groups Twice
  • Loading branch information
dcookman authored Dec 20, 2024
2 parents dc81132 + 2fe1cec commit e45f572
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fitutil/SystematicManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ void SystematicManager::Add(Systematic *sys_, const std::string &groupName_)
{
std::cout << "Warning::Adding systematic with empty group name. Will apply to all events." << std::endl;
Add(sys_);
return;
}
fGroups[groupName_].push_back(sys_);
fNGroups = fGroups.size();
Expand Down

0 comments on commit e45f572

Please sign in to comment.