Weird conversion in CylinderIntegration
Clang 11 warns:
In file included from /home/kiko/dune/complete/dumux/test/geometry/test_cylinderintegration.cc:12:
/home/gruech/dumux/dumux/multidomain/embedded/cylinderintegration.hh:71:72: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
rSamples_ = std::max<std::size_t>(1, ceil(1.0/clamp(rStep, 1.0/std::numeric_limits<std::size_t>::max(), 1.0)));
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I don't understand the line of code, but I understand that using the largest long and have a type conversion to double is not a good idea. If it is intended, add an explicit cast.