Skip to content
Snippets Groups Projects
Commit ec763796 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[local.fluxes.godunov] fix for release builds

parent 6474bb17
No related branches found
No related tags found
No related merge requests found
......@@ -157,11 +157,11 @@ public:
for (size_t ii = 0; ii < dimDomain; ++ii) {
if (DSC::FloatCmp::eq(n_ij[ii], RangeFieldType(1)) || DSC::FloatCmp::eq(n_ij[ii], RangeFieldType(-1)))
coord = ii;
else if (DSC::FloatCmp::eq(n_ij[ii], RangeFieldType(0))) {
#ifndef NDEBUG
else if (DSC::FloatCmp::eq(n_ij[ii], RangeFieldType(0)))
++num_zeros;
#endif // NDEBUG
else
} else
DUNE_THROW(Dune::NotImplemented, "Godunov flux is only implemented for axis parallel cube grids");
}
assert(num_zeros == dimDomain - 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment