# HG changeset patch # User Rik # Date 1316564298 25200 # Node ID 583830ce6afaea73a944242d4113dc85a373fc63 # Parent c215352ddb4f56c019fe3bf765f1683e7f8a082a tpdf.m: Add eps to assert tests for passage on Mac OS * tpdf.m: Add eps to assert tests for passage on Mac OS diff --git a/scripts/statistics/distributions/tpdf.m b/scripts/statistics/distributions/tpdf.m --- 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"));