From 3ab2a637a8c3301555caf6c5fb1a01e56a0830ef Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Thu, 2 Dec 2021 17:43:09 -0700 Subject: [PATCH] Adjust assert. --- include/deal.II/physics/vector_relations.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/physics/vector_relations.h b/include/deal.II/physics/vector_relations.h index efc263447c..76c8e3a6a6 100644 --- a/include/deal.II/physics/vector_relations.h +++ b/include/deal.II/physics/vector_relations.h @@ -121,8 +121,8 @@ Physics::VectorRelations::signed_angle(const Tensor<1, spacedim, Number> &a, Assert(std::abs(axis.norm() - 1.) < 1.e-12, ExcMessage("The axial vector is not a unit vector.")); - Assert(std::abs(axis * a) < 1.e-12 * b.norm() && - std::abs(axis * b) < 1.e-12 * a.norm(), + Assert(std::abs(axis * a) < 1.e-12 * a.norm() && + std::abs(axis * b) < 1.e-12 * b.norm(), ExcMessage("The vectors are not perpendicular to the axial vector.")); const Number dot = a * b; -- 2.39.5