Skip to content

Commit

Permalink
Revert "Update sn3d.cc"
Browse files Browse the repository at this point in the history
This reverts commit 76f0d78.
  • Loading branch information
lukeshingles committed Nov 18, 2024
1 parent 76f0d78 commit 60f9cf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sn3d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <ctime>
#include <filesystem>
#include <fstream>
#include <ios>
#ifndef GPU_ON
#include <random>
#endif
Expand Down Expand Up @@ -718,7 +717,7 @@ auto main(int argc, char *argv[]) -> int {
{
// initialise the thread and rank specific output file
snprintf(filename, MAXFILENAMELENGTH, "output_%d-%d.txt", my_rank, get_thread_num());
output_file = std::ofstream(filename, std::ios::noreplace);
output_file = std::ofstream(filename);
assert_always(output_file.is_open());

#ifdef _OPENMP
Expand Down

0 comments on commit 60f9cf0

Please sign in to comment.