Mercurial > hg > octave-terminal
changeset 13181:583830ce6afa
tpdf.m: Add eps to assert tests for passage on Mac OS
* tpdf.m: Add eps to assert tests for passage on Mac OS
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 20 Sep 2011 17:18:18 -0700 |
parents | c215352ddb4f |
children | cb2b57abcc35 |
files | scripts/statistics/distributions/tpdf.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/statistics/distributions/tpdf.m +++ b/scripts/statistics/distributions/tpdf.m @@ -78,7 +78,7 @@ %!assert(tpdf (x, [0 NaN 1 1 1]), [NaN NaN y(3:5)], eps); %% Test class of input preserved -%!assert(tpdf ([x, NaN], 1), [y, NaN]); +%!assert(tpdf ([x, NaN], 1), [y, NaN], eps); %!assert(tpdf (single([x, NaN]), 1), single([y, NaN]), eps("single")); %!assert(tpdf ([x, NaN], single(1)), single([y, NaN]), eps("single"));