diff --git a/apps/probability/law/chi_squared_law.cpp b/apps/probability/law/chi_squared_law.cpp index c212fa77d..86d3bfd04 100644 --- a/apps/probability/law/chi_squared_law.cpp +++ b/apps/probability/law/chi_squared_law.cpp @@ -50,7 +50,7 @@ double ChiSquaredLaw::cumulativeDistributiveFunctionAtAbscissa(double x) const { } double ChiSquaredLaw::cumulativeDistributiveInverseForProbability(double * probability) { - return cumulativeDistributiveInverseForProbabilityUsingBrentRoots(proba); + return cumulativeDistributiveInverseForProbabilityUsingBrentRoots(probability); } float ChiSquaredLaw::coefficient() const { diff --git a/apps/probability/law/student_law.cpp b/apps/probability/law/student_law.cpp index 61b2390c6..3bbb14f14 100644 --- a/apps/probability/law/student_law.cpp +++ b/apps/probability/law/student_law.cpp @@ -31,7 +31,7 @@ double StudentLaw::cumulativeDistributiveFunctionAtAbscissa(double x) const { } double StudentLaw::cumulativeDistributiveInverseForProbability(double * probability) { - return cumulativeDistributiveInverseForProbabilityUsingBrentRoots(proba); + return cumulativeDistributiveInverseForProbabilityUsingBrentRoots(probability); } float StudentLaw::coefficient() const {