mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Suggestions from review by @paulromano
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
1b6a341878
commit
c8de525c00
2 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue