[Pkg-octave-commit] [octave-statistics] 01/05: d/p/pval-in-ttest-unit-test.patch: New patch

Rafael Laboissiere rafael at debian.org
Sun Sep 3 21:38:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

rafael pushed a commit to branch master
in repository octave-statistics.

commit 2cb9fe08301a2f378beae7796970838a40d48393
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun Sep 3 17:13:30 2017 -0300

    d/p/pval-in-ttest-unit-test.patch: New patch
---
 debian/patches/pval-in-ttest-unit-test.patch | 15 +++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/pval-in-ttest-unit-test.patch b/debian/patches/pval-in-ttest-unit-test.patch
new file mode 100644
index 0000000..e22d277
--- /dev/null
+++ b/debian/patches/pval-in-ttest-unit-test.patch
@@ -0,0 +1,15 @@
+Description: Fix expected value of pval in unit test for function ttest
+Origin: https://sourceforge.net/p/octave/statistics/ci/195f3463961950877deded611c4e575d1b9794e5/
+Last-Update: 2017-09-03
+
+--- octave-statistics-1.3.0.orig/inst/ttest.m
++++ octave-statistics-1.3.0/inst/ttest.m
+@@ -149,7 +149,7 @@ end
+ %! x = 8:0.1:12;
+ %! [h, pval, ci] = ttest (x, 10);
+ %! assert (h, 0)
+-%! assert (pval, 1)
++%! assert (pval, 1, eps)
+ %! assert (ci, [9.6219 10.3781], 1E-5)
+ %! [h, pval, ci0] = ttest (x, 0);
+ %! assert (h, 1)
diff --git a/debian/patches/series b/debian/patches/series
index f28ddb0..9f61733 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 data-files-for-tests.diff
 expose-tbl-delim-tests.patch
+pval-in-ttest-unit-test.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-statistics.git



More information about the Pkg-octave-commit mailing list