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

rafael pushed a commit to branch master
in repository praat.

commit d2f4fa9e9a5cbe5de08742c337de406ee79e5cde
Author: Rafael Laboissiere <[email protected]>
Date:   Sat Oct 7 10:28:10 2017 -0300

    d/p/fix-pca-unit-test.patch: New patch
---
 debian/patches/fix-pca-unit-test.patch | 19 +++++++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/fix-pca-unit-test.patch 
b/debian/patches/fix-pca-unit-test.patch
new file mode 100644
index 0000000..12a5450
--- /dev/null
+++ b/debian/patches/fix-pca-unit-test.patch
@@ -0,0 +1,19 @@
+Description: Fix PCA unit test
+ For some unknown reason, the unit test test_angle_between_planes.praat
+ fails when the angle of rotation is 0.  This is fixed by making the
+ random choice for the angle parameter start from 1 instead of 0.
+Author: Rafael Laboissiere <[email protected]>
+Forwarded: https://github.com/praat/praat/issues/486
+Last-Update: 2017-10-07
+
+--- praat-6.0.33.orig/dwtest/test_angle_between_planes.praat
++++ praat-6.0.33/dwtest/test_angle_between_planes.praat
+@@ -3,7 +3,7 @@
+ 
+ printline test_angle_between_planes.praat
+ for i to 200
+-       hoek = randomInteger (0,90)
++       hoek = randomInteger (1,90)
+        nrow = randomInteger (10,1000)
+        call test hoek nrow 3
+ endfor
diff --git a/debian/patches/series b/debian/patches/series
index d9f05ae..a11e3cd 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 use-ldflags.patch
 remove-time-date-macros.patch
 logis-reg-test-typo.patch
+fix-pca-unit-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/praat.git

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to