Skip to content

Commit

Permalink
Update sn3d.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles authored Nov 11, 2024
1 parent 0596f46 commit 741064c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sn3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,12 @@ __attribute__((__format__(__printf__, 1, 2))) inline auto printout(const char *f
if (output_file) { \
output_file << "\n[rank " << globals::my_rank << "] " << __FILE__ << ":" << __LINE__ << ": failed assertion `" \
<< #e << "` in function " << __PRETTY_FUNCTION__ << "\n" \
<< "Stacktrace:\n" \
<< strstacktrace << '\n'; \
output_file.flush(); \
} \
std::cerr << "\n[rank " << globals::my_rank << "] " << __FILE__ << ":" << __LINE__ << ": failed assertion `" \
<< #e << "` in function " << __PRETTY_FUNCTION__ << "\n" \
<< "Stacktrace:\n" \
<< strstacktrace << '\n' \
<< std::flush; \
<< strstacktrace << '\n'; \
} \
assert(assertpass); \
}
Expand Down

0 comments on commit 741064c

Please sign in to comment.