Fix Sequential Build

Include <cassert> for 'assert' macro.
This commit is contained in:
Bård Skaflestad
2023-02-16 16:36:53 +01:00
parent 34f09fbf5e
commit 1369889074
+2 -1
View File
@@ -26,6 +26,7 @@
#include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp> #include <opm/simulators/utils/DeferredLoggingErrorHelpers.hpp>
#include <cassert>
#include <filesystem> #include <filesystem>
#include <stdexcept> #include <stdexcept>
@@ -61,7 +62,7 @@ HDF5File::HDF5File(const std::string& fileName,
acc_tpl = H5Pcreate(H5P_FILE_ACCESS); acc_tpl = H5Pcreate(H5P_FILE_ACCESS);
H5Pset_fapl_mpio(acc_tpl, comm_, info); H5Pset_fapl_mpio(acc_tpl, comm_, info);
#else #else
assert(0); // should be unreachable assert(false); // should be unreachable
#endif #endif
} }