mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Fix Sequential Build
Include <cassert> for 'assert' macro.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user