File: precision_on_ppc64el.patch

package info (click to toggle)
stopt 6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,264 kB
  • sloc: cpp: 75,778; python: 6,012; makefile: 72; sh: 57
file content (21 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: omit tests for American options in 3D and 4D on ppc64el, as
 precision issues with stopt have been raised multiple times on this arch.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: xavier.warin@gmail.com
Last-Update: 2022-03-24

--- a/test/c++/functional/testAmericanOptionForSparse.cpp
+++ b/test/c++/functional/testAmericanOptionForSparse.cpp
@@ -126,6 +126,7 @@
 
 }
 
+#if !defined(__powerpc__)
 BOOST_AUTO_TEST_CASE(testAmericanSparseBasket3D)
 {
     // dimension
@@ -160,3 +161,4 @@
     // cubic
     testAmericanSparse(false, nDim, nbSimul, level, 3,   referenceValue, accuracyEqual);
 }
+#endif