diff --git a/apps/probability/law/chi_squared_law.h b/apps/probability/law/chi_squared_law.h index 0edd0c666..5ee3c2d3c 100644 --- a/apps/probability/law/chi_squared_law.h +++ b/apps/probability/law/chi_squared_law.h @@ -9,7 +9,7 @@ namespace Probability { class ChiSquaredLaw : public OneParameterLaw { public: static constexpr int k_maxRegularizedGammaIterations = 1000; - static constexpr double k_regularizedGammaPrecision = DBL_EPSILON; + static constexpr double k_regularizedGammaPrecision = FLT_EPSILON; ChiSquaredLaw() : OneParameterLaw(1.0f) {} I18n::Message title() override { return I18n::Message::ChiSquaredLaw; }