mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-26 17:20:53 +01:00
[apps/proba] Fix precision in chi squared law
To pass the tests
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user