]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Set tolerance on one test to avoid roundoff issue.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 5 Nov 2017 17:57:30 +0000 (18:57 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Sun, 5 Nov 2017 17:57:30 +0000 (18:57 +0100)
tests/base/symmetric_tensor_40.cc

index 4a58f7f2da3aff37afb40d4efc0a5f8ec01915f5..46baf29b7cef98b51d34d0a6f7c3e642a1dec6ab 100644 (file)
@@ -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();
   }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.