summary refs log tree commit diff
path: root/pkgs/development/libraries/blitz/blitz-testsuite-stencil-et.patch
blob: fcff8685a08d9a38619174335e21ec4d57fc4eff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/testsuite/stencil-et.cpp b/testsuite/stencil-et.cpp
index b23e979..fe6b5ed 100644
--- a/testsuite/stencil-et.cpp
+++ b/testsuite/stencil-et.cpp
@@ -44,7 +44,7 @@ void test_expr(const T1& d1, const T2& d2)
   BZTEST(all(d1==d2));
 }
 */
-#define test_expr(d1,d2) BZTEST(all((d1)==(d2)));
+#define test_expr(d1,d2) BZTEST(all((d1)-(d2)<=1e-7));
 
 // Test two vector expressions for equality
 template<typename T1, typename T2>