Fixed error caused by GCC complaining about SignedInfinity in debug mode.