Bill Press
08-17-2010, 03:47 PM
The line in pks
if (z == 0.) return 0.;
should be replaced by
if (z < 0.042) return 0.;
This fixes a potential underflow in the exponential, two lines later. Thanks to user tbegg for pointing this out.
if (z == 0.) return 0.;
should be replaced by
if (z < 0.042) return 0.;
This fixes a potential underflow in the exponential, two lines later. Thanks to user tbegg for pointing this out.