summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-12-22 15:42:04 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-12-22 15:42:04 +0000
commit387b317a4d45ebb30c57e72d9e248f2ace0b4663 (patch)
tree77d7d7e3d2051504c64e37bb8c83d34096cd075d /sci-astronomy/cpl/files
parentVersion bump. (diff)
downloadgentoo-2-387b317a4d45ebb30c57e72d9e248f2ace0b4663.tar.gz
gentoo-2-387b317a4d45ebb30c57e72d9e248f2ace0b4663.tar.bz2
gentoo-2-387b317a4d45ebb30c57e72d9e248f2ace0b4663.zip
Fixed failing fft test on some configuration
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy/cpl/files')
-rw-r--r--sci-astronomy/cpl/files/cpl-5.2.0-test.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-astronomy/cpl/files/cpl-5.2.0-test.patch b/sci-astronomy/cpl/files/cpl-5.2.0-test.patch
new file mode 100644
index 000000000000..222f01c60153
--- /dev/null
+++ b/sci-astronomy/cpl/files/cpl-5.2.0-test.patch
@@ -0,0 +1,21 @@
+--- cpldrs/tests/cpl_fft-test.c.orig 2010-12-22 15:36:23.000000000 +0000
++++ cpldrs/tests/cpl_fft-test.c 2010-12-22 15:36:54.000000000 +0000
+@@ -205,14 +205,14 @@
+
+ if (imtype & CPL_TYPE_FLOAT) {
+ cpl_test_image_abs(img2_re, img4_re,
+- 2 * 10 * FLT_EPSILON * CONSTANT);
++ 3 * 10 * FLT_EPSILON * CONSTANT);
+ cpl_test_image_abs(img2_im, img4_im,
+- 2 * 10 * FLT_EPSILON * CONSTANT);
++ 3 * 10 * FLT_EPSILON * CONSTANT);
+ } else {
+ cpl_test_image_abs(img2_re, img4_re,
+- 2 *10 * DBL_EPSILON * CONSTANT);
++ 5 *10 * DBL_EPSILON * CONSTANT);
+ cpl_test_image_abs(img2_im, img4_im,
+- 2* 10 * DBL_EPSILON * CONSTANT);
++ 5* 10 * DBL_EPSILON * CONSTANT);
+
+ }
+