From a640bc46565c218d88c9af8507a98a3e21f54d60 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Thu, 21 Oct 2021 12:12:31 -0700 Subject: [PATCH] Fixed typo in cal/statistics.cal Thanks to a report by . --- CHANGES | 3 +++ cal/statistics.cal | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index d6a3d69..2c43e4a 100644 --- a/CHANGES +++ b/CHANGES @@ -191,6 +191,9 @@ The following are the changes from calc version 2.14.0.0 to date: ; print hm2h(241, -25.5594); 0.57401 + Fixed typo in cal/statistics.cal thanks to a report by . + The following are the changes from calc version 2.13.0.1 to 2.13.0.1: diff --git a/cal/statistics.cal b/cal/statistics.cal index 1278b1f..3db1798 100644 --- a/cal/statistics.cal +++ b/cal/statistics.cal @@ -371,7 +371,7 @@ define normalcdf(x,mu,sigma){ define probit(p){ if(p<0 || p > 1) return newerror("probit: p out of domain 0<=p<=1"); - return sqrt(2)*ervinv(2*p-1); + return sqrt(2)*erfinv(2*p-1); } define normalcdfinv(p,mu,sigma){