From e551f6cfb0b09eff324e2c72e95189366bc05087 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 5 Mar 2020 16:28:42 -0700 Subject: [PATCH] Fix a typo. --- tests/tensors/constexpr_tensor.cc | 10 +++++----- tests/tensors/constexpr_tensor.output | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/tensors/constexpr_tensor.cc b/tests/tensors/constexpr_tensor.cc index de75112e03..80844d985e 100644 --- a/tests/tensors/constexpr_tensor.cc +++ b/tests/tensors/constexpr_tensor.cc @@ -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()); } diff --git a/tests/tensors/constexpr_tensor.output b/tests/tensors/constexpr_tensor.output index 29275c9ddc..31dd851cc2 100644 --- a/tests/tensors/constexpr_tensor.output +++ b/tests/tensors/constexpr_tensor.output @@ -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 -- 2.39.5