Mercurial > hg > octave-thorsten
diff scripts/statistics/distributions/kolmogorov_smirnov_cdf.m @ 14817:8d3ab19f8599
Fix logncdf tests to use more accurate expected result.
* scripts/statistics/distributions/logncdf.m: use erf(1/sqrt(2)*1/sqrt(2))
instead of erf(1/2) to avoid floating point errors that are below eps
(alternate solution would be to add tolerance to the tests).
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Tue, 12 Jun 2012 19:50:13 +0100 |
parents | f3d52523cde1 |
children |