From 5837c161a0000f74e97fc89364220acdf10cd513 Mon Sep 17 00:00:00 2001 From: deal Date: Wed, 3 Mar 2004 16:51:38 +0000 Subject: [PATCH] Loosen test slightly. git-svn-id: https://svn.dealii.org/trunk@8647 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/full_matrix_vector_07.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/bits/full_matrix_vector_07.cc b/tests/bits/full_matrix_vector_07.cc index 7d0b347e12..39803ce77b 100644 --- a/tests/bits/full_matrix_vector_07.cc +++ b/tests/bits/full_matrix_vector_07.cc @@ -1,6 +1,6 @@ //---------------------------- full_matrix_vector_07.cc --------------------------- -// $Id$ -// Version: $Name$ +// full_matrix_vector_07.cc,v 1.3 2004/02/26 17:25:34 wolf Exp +// Version: // // Copyright (C) 2004 by the deal.II authors // @@ -56,7 +56,7 @@ void test (Vector &v, Assert (x(i) == result, ExcInternalError()); } - Assert (s == x.l2_norm(), ExcInternalError()); + Assert (std::fabs((s - x.l2_norm())/s) < 1e-14, ExcInternalError()); deallog << "OK" << std::endl; } -- 2.39.5