Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 16, 2024
1 parent c08ec43 commit e9d9123
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/framework/sensitivity/src/TRestComponent.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,15 @@ TCanvas* TRestComponent::DrawComponent(std::vector<std::string> drawVariables,
TString drawOption) {
if (drawVariables.size() > 2 || drawVariables.size() == 0) {
RESTError << "TRestComponent::DrawComponent. The number of variables to be drawn must "
"be 1 or 2!" << RESTendl;
"be 1 or 2!"
<< RESTendl;
return fCanvas;
}

if (scanVariables.size() > 2 || scanVariables.size() == 0) {
RESTError << "TRestComponent::DrawComponent. The number of variables to be scanned must "
"be 1 or 2!" << RESTendl;
"be 1 or 2!"
<< RESTendl;
return fCanvas;
}

Expand Down

0 comments on commit e9d9123

Please sign in to comment.