[DRE-commits] [ruby-fftw3] 01/03: Refresh patches

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Fri Sep 4 08:02:00 UTC 2015


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

uwabami-guest pushed a commit to branch master
in repository ruby-fftw3.

commit 0e9d23bf469d0ed143081c8b3d6da785b8121629
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Fri Sep 4 15:51:47 2015 +0900

    Refresh patches
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 debian/patches/0001-RefactTestCases.patch | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/debian/patches/0001-RefactTestCases.patch b/debian/patches/0001-RefactTestCases.patch
index 5e0031c..ccd326c 100644
--- a/debian/patches/0001-RefactTestCases.patch
+++ b/debian/patches/0001-RefactTestCases.patch
@@ -6,11 +6,12 @@ Subject: RefactTestCases
  test/complexFFT.rb | 71 +++++++++++++++++++++++++++---------------------------
  1 file changed, 36 insertions(+), 35 deletions(-)
 
-diff --git a/test/complexFFT.rb b/test/complexFFT.rb
-index e92f64e..39ae57e 100644
 --- a/test/complexFFT.rb
 +++ b/test/complexFFT.rb
-@@ -1,38 +1,39 @@
+@@ -3,41 +3,42 @@
+ rescue LoadError
+ end
+ require "narray"  # This line is needed for rake test when making a gem package.
 +require "test/unit"
 +require "narray"
  require "numru/fftw3"
@@ -49,10 +50,8 @@ index e92f64e..39ae57e 100644
 -p( fc=FFTW3.fft(na, -1, 1) / na.shape[1] )
 -p( fc=FFTW3.fft(na, -1, 0,1,2)  / (na.shape[0]*na.shape[1]*na.shape[2]) )
 -p FFTW3.fft(fc, 1, 0,1,2).real
--
--
 +class ComplexTest < Test::Unit::TestCase
-+
+ 
 +  def setup
 +    @na_double = NArray.float(8,4).fill(1.0)
 +    @na_single = NArray.sfloat(8,4).indgen!
@@ -83,5 +82,5 @@ index e92f64e..39ae57e 100644
 +    fc_complex = FFTW3.fft(@na_complex, -1, 0, 1, 2)/(@na_complex.shape[0]*@na_complex.shape[1]*@na_complex.shape[2])
 +    assert_in_delta @na_complex, FFTW3.fft(fc_complex, 1, 0, 1, 2).real, @float_delta
 +  end
-+
+ 
 +end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fftw3.git



More information about the Pkg-ruby-extras-commits mailing list