Skip to content

Commit

Permalink
Corrections to satisfy picky clang
Browse files Browse the repository at this point in the history
It's a minor adjustment to Dominique's (@dombrno) patch.
Thanks Dominique!
  • Loading branch information
galexv authored Mar 20, 2018
1 parent 01d7204 commit 4459096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/impurity_init.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void HybridizationSimulation<IMP_MODEL>::read_eq_time_two_particle_greens_meas()
return;
}

std::ifstream infile_f(par[fname_key].as<std::string>());
std::ifstream infile_f(par[fname_key].template as<std::string>());
if (!infile_f.is_open()) {
std::cerr << "We cannot open " << par[fname_key] << "!" << std::endl;
exit(1);
Expand Down Expand Up @@ -417,7 +417,7 @@ void HybridizationSimulation<IMP_MODEL>::read_two_time_correlation_functions() {
return;
}

std::ifstream infile_f(par[fname_key].as<std::string>());
std::ifstream infile_f(par[fname_key].template as<std::string>());
if (!infile_f.is_open()) {
std::cerr << "We cannot open " << par[fname_key] << "!" << std::endl;
exit(1);
Expand Down

0 comments on commit 4459096

Please sign in to comment.