mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
aac4cb7d667f441347c25d4a394277264c170380
As there are no functors for computing the minimum and maximum, we convert the std::max and std::min function pointers to functors (which is not really nice.) Previously we were somehow tricked into using std::greater and std::less, which of course do return true or false and not what we need. Additionally, do more excessive testing with different ranges.
Languages
C++
79.4%
ECL
13.8%
Cuda
1.7%
Pawn
1.7%
CMake
1.4%
Other
1.9%