From ee8f2bc2dfcb0ba0c751f9efe57329ec68a25aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Wed, 14 Aug 2019 10:41:12 +0200 Subject: [PATCH] [apps/proba] Fix typo --- apps/probability/law/chi_squared_law.cpp | 2 +- apps/probability/law/student_law.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {