Skip to content

Commit

Permalink
Merge pull request #1497 from dayates/main
Browse files Browse the repository at this point in the history
Fixing TSRIM
  • Loading branch information
VinzenzBildstein authored Jan 17, 2025
2 parents e906dac + befccc3 commit 3306a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/TAnalysis/TSRIM/TSRIM.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ void TSRIM::ReadEnergyLossFile(const char* filename, double emax, double emin, b
std::ostringstream ostr;
ostr << grsipath << "/libraries/TAnalysis/SRIMData/";
if(!DirectoryExists(ostr.str().c_str())) {
ostr.str(grsipath);
ostr << "/SRIMData/";
ostr.str(std::string());
ostr << grsipath << "/SRIMData/";
}
if(!DirectoryExists(ostr.str().c_str())) {
std::cout << std::endl
Expand Down

0 comments on commit 3306a28

Please sign in to comment.