Skip to content

Commit

Permalink
Update vpkt.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed May 6, 2024
1 parent 747cb2c commit f1deb84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vpkt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ void vpkt_remove_temp_file(const int nts, const int my_rank) {
std::filesystem::copy_file(filename_prev, filename, std::filesystem::copy_options::overwrite_existing);
printout("Copying %s to %s\n", filename_prev, filename);

vpkt_contrib_file.close();
vpkt_contrib_file = std::ofstream(filename, std::ios::app);

char filename_prev_prev[MAXFILENAMELENGTH];
Expand Down

0 comments on commit f1deb84

Please sign in to comment.