Maxwell-Stefan causes compiler warnings
Using g++7 with release opts, the following warning is emitted:
/temp/weishaupt/Dumux_testing/dumux/test/porousmediumflow/1pnc/implicit/1p3c/problem.hh:136:9: Warnung: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
if (compIIdx > compJIdx)
This comes from the custom fluid systems used in the Maxwell-Stefan tests.
See https://gitlab.dune-project.org/core/dune-geometry/-/merge_requests/19 or https://stackoverflow.com/questions/12984861/dont-understand-assuming-signed-overflow-warning
This probably comes from loop unrolling when calling binaryDiffusionCoefficient
from somewhere. compJIdx
is always larger than compIIdx
but I don't get yet why this triggers the warning.