[DRE-commits] [ruby-integration] 04/08: Remove already applied patch
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Wed Feb 8 17:47:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-integration.
commit 15df88302dd17996b6db595c272b5369056ce98e
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Wed Feb 8 15:27:24 2017 -0200
Remove already applied patch
---
debian/changelog | 1 +
...gsl_condition_to_complex_integration_spec.patch | 26 ----------------------
debian/patches/series | 1 -
3 files changed, 1 insertion(+), 27 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3770588..7ba4050 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ ruby-integration (0.1.4-1) UNRELEASED; urgency=medium
[ Lucas Albuquerque Medeiros de Moura ]
* New upstream version 0.1.4
+ * Remove already applied patch
-- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com> Wed, 08 Feb 2017 15:22:42 -0200
diff --git a/debian/patches/add_has_gsl_condition_to_complex_integration_spec.patch b/debian/patches/add_has_gsl_condition_to_complex_integration_spec.patch
deleted file mode 100644
index 9e4257e..0000000
--- a/debian/patches/add_has_gsl_condition_to_complex_integration_spec.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: add test on has_gsl? before using GSL integration method
- This one was missing from the spec for complex intergration with GSL methods
-Author: Cédric Boutillier <boutil at debian.org>
-Bug: https://github.com/clbustos/integration/pull/1
-Last-Update: 2012-10-17
-
-
---- a/spec/integration_spec.rb
-+++ b/spec/integration_spec.rb
-@@ -17,9 +17,13 @@
- Integration.integrate(0,1,{:tolerance=>1e-12,:method=>:adaptive_quadrature},&normal_pdf).should be_within(1e-11).of(0.341344746068)
- end
- it "should return a correct value for a complex integration with gsl methods" do
-- normal_pdf=lambda {|x| (1/Math.sqrt(2*Math::PI))*Math.exp(-(x**2/2))}
-- Integration.integrate(0,1,{:tolerance=>1e-12,:method=>:qng},&normal_pdf).should be_within(1e-11).of(0.341344746068)
-- Integration.integrate(0,1,{:tolerance=>1e-12,:method=>:qag},&normal_pdf).should be_within(1e-11).of(0.341344746068)
-+ if Integration.has_gsl?
-+ normal_pdf=lambda {|x| (1/Math.sqrt(2*Math::PI))*Math.exp(-(x**2/2))}
-+ Integration.integrate(0,1,{:tolerance=>1e-12,:method=>:qng},&normal_pdf).should be_within(1e-11).of(0.341344746068)
-+ Integration.integrate(0,1,{:tolerance=>1e-12,:method=>:qag},&normal_pdf).should be_within(1e-11).of(0.341344746068)
-+ else
-+ pending("GSL not available")
-+ end
- end
-
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 5b8ca44..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-add_has_gsl_condition_to_complex_integration_spec.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-integration.git
More information about the Pkg-ruby-extras-commits
mailing list