[DRE-commits] [ruby-gsl] 04/05: Refresh patches
Balint Reczey
rbalint at moszumanska.debian.org
Tue Dec 27 00:46:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
rbalint pushed a commit to branch master
in repository ruby-gsl.
commit d195d502a19e431f2d6e8db49dc19f2c9daa3556
Author: Balint Reczey <balint at balintreczey.hu>
Date: Tue Dec 27 01:17:56 2016 +0100
Refresh patches
Skip test_nonsymm test which is failing on some architectures due
to calculation precision
---
debian/patches/series | 2 +-
debian/patches/skip_failing_tests_precision.patch | 57 +++++++----------------
2 files changed, 17 insertions(+), 42 deletions(-)
diff --git a/debian/patches/series b/debian/patches/series
index 01444c8..729d7ba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,4 +2,4 @@
#gsl2_multifit.patch
#gsl2_special_functions.patch
#gsl2_tamu_anova.patch
-#skip_failing_tests_precision.patch
+skip_failing_tests_precision.patch
diff --git a/debian/patches/skip_failing_tests_precision.patch b/debian/patches/skip_failing_tests_precision.patch
index 1584e35..787b1b9 100644
--- a/debian/patches/skip_failing_tests_precision.patch
+++ b/debian/patches/skip_failing_tests_precision.patch
@@ -1,44 +1,19 @@
-Description: dht_test fail on some archs because of precision issue
- i386, arm64, powerpc, s390x, ppc64el, mips64el
-Author: Cédric Boutillier <boutil at debian.org>
-Last-Update: 2016-03-01
-Bug: https://github.com/SciRuby/rb-gsl/issues/32
+Description: test_nonsymm fail on some archs because of precision issue
+ i386, arm64, powerpc, s390x, ppc64el
+Author: Balint Reczey <balint at balintreczey.hu>
+Last-Update: 2016-12-27
+Bug: https://github.com/SciRuby/rb-gsl/issues/43
---- a/test/gsl/dht_test.rb
-+++ b/test/gsl/dht_test.rb
-@@ -4,7 +4,7 @@
-
- N = 128
-
-- def test_dht1
-+ def _test_dht1
- vin = GSL::Vector.alloc(1, 2, 3)
- dht = GSL::Dht.alloc(3, 1.0, 1.0)
-
-@@ -22,7 +22,7 @@
- assert_equal 3.000035803234503, vin2[2]
- end
-
-- def test_dht2
-+ def _test_dht2
- vin = GSL::Vector.alloc(N)
- dht = GSL::Dht.alloc(N, 0.0, 100.0)
-
-@@ -40,7 +40,7 @@
- assert_equal 0.02373661279695407, vout[100]
+diff --git a/test/gsl/eigen_test.rb b/test/gsl/eigen_test.rb
+index 4198ab7..773c0b9 100644
+--- a/test/gsl/eigen_test.rb
++++ b/test/gsl/eigen_test.rb
+@@ -399,7 +399,7 @@ class EigenTest < GSL::TestCase
+ }
end
-- def test_dht3
-+ def _test_dht3
- vin = GSL::Vector.alloc(N)
- dht = GSL::Dht.alloc(N, 1.0, 20.0)
-
-@@ -58,7 +58,7 @@
- assert_equal 0.0022121119664674426, vout[100]
- end
-
-- def test_dht4
-+ def _test_dht4
- vin = GSL::Vector.alloc(N)
- dht = GSL::Dht.alloc(N, 1.0, 1.0)
-
+- def test_nonsymm
++ def _test_nonsymm
+ m = GSL::Matrix[[1, 2], [3, 2]]
+ e_val = m.eigen_nonsymm.real.sort
+ assert_abs e_val[0], -1, 0, 'GSL::Matrix::eigen_nonsymm'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gsl.git
More information about the Pkg-ruby-extras-commits
mailing list