From 741064cb524f0be202e644963135be9214b2f895 Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Mon, 11 Nov 2024 18:46:07 +0000 Subject: [PATCH] Update sn3d.h --- sn3d.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sn3d.h b/sn3d.h index e6c726555..14c62a69a 100644 --- a/sn3d.h +++ b/sn3d.h @@ -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); \ }