From 6d83af477640c98e98ae66d4509e44495907e1c5 Mon Sep 17 00:00:00 2001 From: Bill-Gray Date: Mon, 7 Aug 2023 14:58:53 -0400 Subject: [PATCH] 'inverf.c' : debugging code should have been enclosed within #ifdef DEBUGGING/#endif --- inverf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inverf.c b/inverf.c index 8eee1da..24afee0 100644 --- a/inverf.c +++ b/inverf.c @@ -47,10 +47,12 @@ double inverf( const double y) { double x, diff; const double erf_limit = .915; +#ifdef DEBUGGING const double t = sqrt( -2. * log( (1. - y) / 2.)); const double guess = -0.70711*((2.30753+t*0.27061)/(1.+t*(0.99229+t*0.04481)) - t); printf( "NR guess %.8f\n", guess); +#endif if( y < -erf_limit) return( -inverf( -y)); else if( y > erf_limit)