From ef8d53aefcc576a4db4332540b197c93a40dd7b8 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Sun, 5 Nov 2017 18:57:30 +0100 Subject: [PATCH] Set tolerance on one test to avoid roundoff issue. --- tests/base/symmetric_tensor_40.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/base/symmetric_tensor_40.cc b/tests/base/symmetric_tensor_40.cc index 4a58f7f2da..46baf29b7c 100644 --- a/tests/base/symmetric_tensor_40.cc +++ b/tests/base/symmetric_tensor_40.cc @@ -192,7 +192,7 @@ int main() { test_dim_2( -43.2, Tensor<1,2>({1.5,-0.55}), - -43.2 ); + -43.2, 1e-8 ); } deallog.pop(); } -- 2.39.5