Skip to content

Commit

Permalink
Update TRestRun.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalan authored Mar 25, 2022
1 parent 63fa89b commit a3f0b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/framework/core/src/TRestRun.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ TRestRun::TRestRun() { Initialize(); }
TRestRun::TRestRun(string filename) {
if (filename.find(".root") == string::npos) {
Initialize();
OpenInputFile(rootfilename);
OpenInputFile(filename);
} else if (filename.find(".rml") == string::npos) {
Initialize();
LoadConfigFromFile(filename);
Expand Down

0 comments on commit a3f0b6f

Please sign in to comment.