Suggestions from review by @paulromano

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Jonathan Shimwell 2022-03-11 15:36:44 +00:00 committed by GitHub
parent 1b6a341878
commit c8de525c00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -577,8 +577,7 @@ void write_tallies()
return;
// Set filename for tallies_out
std::string filename;
filename = fmt::format("{}tallies.out", settings::path_output);
std::string filename = fmt::format("{}tallies.out", settings::path_output);
// Open the tallies.out file.
std::ofstream tallies_out;

View file

@ -23,8 +23,7 @@ void write_summary()
write_message("Writing summary.h5 file...", 5);
// Set filename for summary file
std::string filename;
filename = fmt::format("{}summary.h5", settings::path_output);
std::string filename = fmt::format("{}summary.h5", settings::path_output);
// Create a new file using default properties.
hid_t file = file_open(filename, 'w');