Skip to content

Commit

Permalink
Merge branch 'jgalan_sensitivity' of github.com:rest-for-physics/fram…
Browse files Browse the repository at this point in the history
…ework into jgalan_sensitivity
  • Loading branch information
jgalan committed Jan 21, 2024
2 parents 282ac44 + e9d9123 commit 1d1857a
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 @@ -327,13 +327,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 1d1857a

Please sign in to comment.