[apophenia] 01/01: RC #793998 - eg/t_test_by_rows - fix
Jerome Benoit
calculus-guest at moszumanska.debian.org
Fri Oct 16 03:01:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
calculus-guest pushed a commit to branch master
in repository apophenia.
commit bd31792f7f27d3fb4650c764043523fe18c6fe15
Author: Jerome Benoit <calculus at rezozer.net>
Date: Fri Oct 16 05:00:48 2015 +0200
RC #793998 - eg/t_test_by_rows - fix
---
debian/changelog | 4 +++-
debian/patches/series | 1 +
.../upstream-bug-793998-eg_t_test_by_rows.patch | 19 +++++++++++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index cefcba0..451d8fe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
apophenia (0.999e+ds-4) UNRELEASED; urgency=medium
* bug fix release:
- - eg/t_test_by_rows TYPO and hidden numerical FAILURE, isolate and fix.
+ - eg/t_test_by_rows:
+ - TYPO and hidden numerical FAILURE, isolate and fix;
+ - type mismatch, isolate and fix.
-- Jerome Benoit <calculus at rezozer.net> Fri, 16 Oct 2015 00:08:20 +0000
diff --git a/debian/patches/series b/debian/patches/series
index 8955cff..68592b3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
upstream-typo-eg_t_test_by_rows.patch
+upstream-bug-793998-eg_t_test_by_rows.patch
upstream-bug-793998-eg_test_updating.patch
upstream-bug-793998-tests_distribution_tests.patch
debianization.patch
diff --git a/debian/patches/upstream-bug-793998-eg_t_test_by_rows.patch b/debian/patches/upstream-bug-793998-eg_t_test_by_rows.patch
new file mode 100644
index 0000000..7d18274
--- /dev/null
+++ b/debian/patches/upstream-bug-793998-eg_t_test_by_rows.patch
@@ -0,0 +1,19 @@
+Description: upstream -- RC bug fix 793998 -- eg/t_test_by_rows.c
+ Fix a careless mistake that had introduced a type mismatch: size_t vs int.
+ The patch was designed with 'gcc (Debian 5.2.1-22) 5.2.1 20151010' on
+ a s390x Debian porter (sid).
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2015-10-16
+
+--- a/eg/t_test_by_rows.c
++++ b/eg/t_test_by_rows.c
+@@ -4,7 +4,7 @@
+
+ void offset_rng(double *v){*v = gsl_rng_uniform(apop_rng_get_thread()) + row_offset;}
+ double find_tstat(gsl_vector *in){ return apop_mean(in)/sqrt(apop_var(in));}
+-double conf(double in, void *df){ return gsl_cdf_tdist_P(in, *(int *)df);}
++double conf(double in, void *df){ return gsl_cdf_tdist_P(in, *(size_t *)df);}
+
+ //apop_vector_mean is a macro, so we can't point a pointer to it.
+ double mu(gsl_vector *in){ return apop_vector_mean(in);}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/apophenia.git
More information about the debian-science-commits
mailing list