From be6b3a4a6e7ffe44017848af41dae4e91bbd7ed6 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Mon, 10 Oct 2016 10:35:28 +0200 Subject: [PATCH] [T] Relax KelvinVector{4,6} inverse tolerance. --- Tests/MaterialLib/KelvinVector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/MaterialLib/KelvinVector.cpp b/Tests/MaterialLib/KelvinVector.cpp index d4f756c7130..a7681ac008c 100644 --- a/Tests/MaterialLib/KelvinVector.cpp +++ b/Tests/MaterialLib/KelvinVector.cpp @@ -154,7 +154,7 @@ TEST_F(MaterialLibSolidsKelvinVector4, Inverse) (inverse(v) - tensorToKelvin<4>(kelvinToTensor(v).inverse())) .norm(); // The error is only weekly depending on the input vector norm. - return error < 1e-7 && 1e-9 * std::pow(v.norm(), 1.3); + return error < 1e-6 && 1e-8 * std::pow(v.norm(), 1.3); }; auto eps = std::numeric_limits<double>::epsilon(); @@ -175,7 +175,7 @@ TEST_F(MaterialLibSolidsKelvinVector6, Inverse) (inverse(v) - tensorToKelvin<6>(kelvinToTensor(v).inverse())) .norm(); // The error is only weekly depending on the input vector norm. - return error < 1e-7 && 1e-9 * std::pow(v.norm(), 1.3); + return error < 1e-6 && 1e-8 * std::pow(v.norm(), 1.3); }; auto eps = std::numeric_limits<double>::epsilon(); -- GitLab