Mercurial > hg > octave-thorsten
comparison scripts/statistics/distributions/chi2pdf.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 |
comparison
equal
deleted
inserted
replaced
14816:2feab289622a | 14817:8d3ab19f8599 |
---|