[dune-localfunctions] 01/02: patch: Increase ε used for comparisons

Ansgar Burchardt ansgar at moszumanska.debian.org
Thu Apr 20 17:42:33 UTC 2017


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

ansgar pushed a commit to annotated tag debian/2.5.0-2
in repository dune-localfunctions.

commit c49293adf684fe151eace24644ac045787c963ed
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Thu Apr 20 19:28:34 2017 +0200

    patch: Increase ε used for comparisons
    
    Bug-Debian: https://bugs.debian.org/860641
---
 ...h-bugfix-increase-epsilon-for-i386-into-m.patch | 31 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 32 insertions(+)

diff --git a/debian/patches/0001-Merge-branch-bugfix-increase-epsilon-for-i386-into-m.patch b/debian/patches/0001-Merge-branch-bugfix-increase-epsilon-for-i386-into-m.patch
new file mode 100644
index 0000000..bb508e5
--- /dev/null
+++ b/debian/patches/0001-Merge-branch-bugfix-increase-epsilon-for-i386-into-m.patch
@@ -0,0 +1,31 @@
+From d15e2ebfb0a5139cd63c741006bf5c2317584186 Mon Sep 17 00:00:00 2001
+From: Ansgar Burchardt <ansgar.burchardt at tu-dresden.de>
+Date: Thu, 20 Apr 2017 14:37:36 +0000
+Subject: [PATCH] Merge branch 'bugfix/increase-epsilon-for-i386' into 'master'
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Increase ε used for comparisons (for i386)
+
+See merge request !41
+---
+ dune/localfunctions/test/test-orthonormal.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dune/localfunctions/test/test-orthonormal.cc b/dune/localfunctions/test/test-orthonormal.cc
+index 5fe9c1c..28dac23 100644
+--- a/dune/localfunctions/test/test-orthonormal.cc
++++ b/dune/localfunctions/test/test-orthonormal.cc
+@@ -73,7 +73,7 @@ bool test(unsigned int order)
+       for( unsigned int j = 0; j < size; ++j )
+       {
+         const double value = m[ i*size + j ];
+-        if( std::abs( value - double( i == j ) ) > 1000.*Dune::Zero<double>::epsilon() ) {
++        if( std::abs( value - double( i == j ) ) > 1200.*Dune::Zero<double>::epsilon() ) {
+           std::cout << "i = " << i << ", j = " << j << ": " << std::abs( value - double( i == j ) ) << std::endl;
+           ret = false;
+         }
+-- 
+2.11.0
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1714e15
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Merge-branch-bugfix-increase-epsilon-for-i386-into-m.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dune-localfunctions.git



More information about the debian-science-commits mailing list