From a98a04ac6dafcd6c10c4b947081db6b8349c2c79 Mon Sep 17 00:00:00 2001 From: Andrew Myers Date: Wed, 8 Jan 2020 11:09:28 -0800 Subject: fix new compliation error with USE_PSATD=TRUE --- Source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/main.cpp') diff --git a/Source/main.cpp b/Source/main.cpp index cb183bc8d..19413da7a 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -16,7 +16,7 @@ int main(int argc, char* argv[]) #if defined(_OPENMP) && defined(WARPX_USE_PSATD) int provided; MPI_Init_thread(&argc, &argv, MPI_THREAD_FUNNELED, &provided); - assert(provided >= MPI_THREAD_FUNNELED); + AMREX_ALWAYS_ASSERT(provided >= MPI_THREAD_FUNNELED); #else MPI_Init(&argc, &argv); #endif -- cgit v1.2.3