Skip to content
Snippets Groups Projects
Commit d37126d4 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix a sequential only build warning and a too restrictive Assert

parent 6139a888
Branches
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ Messenger::destroy()
}
}
Messenger::Messenger([[maybe_unused]] int& argc, [[maybe_unused]] char* argv[], bool parallel_output)
Messenger::Messenger([[maybe_unused]] int& argc, [[maybe_unused]] char* argv[], [[maybe_unused]] bool parallel_output)
{
#ifdef PUGS_HAS_MPI
MPI_Init(&argc, &argv);
......
......@@ -168,7 +168,7 @@ class ReproducibleScalarSum
PUGS_INLINE static void
_update(const DataType& m, Bin& bin) noexcept(NO_ASSERT)
{
Assert(m > 0);
Assert(m >= 0);
using namespace reproducible_sum_utils;
if (m >= std::pow(DataType{2}, W - 1.) * ulp(bin.S[0])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment