This typo didn't cause any problems in Gromacs, since currently, no code
path enters here. But if user code would use FloatOption or RealOption,
it would trigger. Found while taking this code into actual use in
master.
Change-Id: I712faf365359964f6f767991664da7981072e5bd
double dval = std::strtod(ptr, &endptr);
if (errno == ERANGE
|| dval * factor_ < -std::numeric_limits<float>::max()
- || dval * factor_ > -std::numeric_limits<float>::max())
+ || dval * factor_ > std::numeric_limits<float>::max())
{
GMX_THROW(InvalidInputError("Invalid value: '" + value
+ "'; it causes an overflow/underflow"));