From: Marc Fehling Date: Fri, 3 Dec 2021 00:43:09 +0000 (-0700) Subject: Adjust assert. X-Git-Tag: v9.4.0-rc1~774^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13026%2Fhead;p=dealii.git Adjust assert. --- 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;