]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a typo. 9629/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 5 Mar 2020 23:28:42 +0000 (16:28 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 6 Mar 2020 14:13:52 +0000 (07:13 -0700)
tests/tensors/constexpr_tensor.cc
tests/tensors/constexpr_tensor.output

index de75112e035a8c70a4a4a2931721baaa7235557f..80844d985ebd23451863acb3b357e68cdd5a8577 100644 (file)
@@ -179,10 +179,10 @@ main()
     DEAL_II_CONSTEXPR const auto dummy_6 = contract3(a, middle, a);
     DEAL_II_CONSTEXPR const auto dummy_7 = adjugate(a);
     DEAL_II_CONSTEXPR const auto dummy_8 = cofactor(a);
-    deallog << "Deteriminant before orthogonalization: " << determinant(a)
+    deallog << "Determinant before orthogonalization: " << determinant(a)
             << std::endl;
     const auto dummy_9 = project_onto_orthogonal_tensors(a, 0);
-    deallog << "Deteriminant after  orthogonalization: " << determinant(dummy_9)
+    deallog << "Determinant after  orthogonalization: " << determinant(dummy_9)
             << std::endl;
     Assert(determinant(dummy_9) - 1. < 1e-8, ExcInternalError());
 
@@ -205,11 +205,11 @@ main()
                                                   {2., 0., 1}};
     constexpr Tensor<2, 3> non_orthogonal{non_orthogonal_init};
 
-    deallog << "Deteriminant before orthogonalization: "
+    deallog << "Determinant before orthogonalization: "
             << determinant(non_orthogonal) << std::endl;
     const auto dummy_10 = project_onto_orthogonal_tensors(non_orthogonal, 1e-8);
-    deallog << "Deteriminant after  orthogonalization: "
-            << determinant(dummy_10) << std::endl;
+    deallog << "Determinant after  orthogonalization: " << determinant(dummy_10)
+            << std::endl;
     Assert(determinant(dummy_10) - 1. < 1e-8, ExcInternalError());
   }
 
index 29275c9ddcfcbc1af4d1b035e58f929b0f484f24..31dd851cc2c4506e3c6ad583759e4f9408b47a38 100644 (file)
@@ -166,8 +166,8 @@ DEAL::Using Tensor within constexpr functions
 DEAL::15.2000
 DEAL::116.000
 DEAL::Used memory: 72
-DEAL::Deteriminant before orthogonalization: 1.00000
-DEAL::Deteriminant after  orthogonalization: 1.00000
-DEAL::Deteriminant before orthogonalization: -1.50000
-DEAL::Deteriminant after  orthogonalization: -1.00000
+DEAL::Determinant before orthogonalization: 1.00000
+DEAL::Determinant after  orthogonalization: 1.00000
+DEAL::Determinant before orthogonalization: -1.50000
+DEAL::Determinant after  orthogonalization: -1.00000
 DEAL::OK

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.