From cf40eb486d6e1f799c4b3741c53e0dcc3527c8de Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 13 May 2024 20:07:16 -0600 Subject: [PATCH] Avoid using a constructor that is to be deprecated. --- include/deal.II/numerics/vector_tools_project.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/deal.II/numerics/vector_tools_project.h b/include/deal.II/numerics/vector_tools_project.h index 26f5b6f853..2190fc8565 100644 --- a/include/deal.II/numerics/vector_tools_project.h +++ b/include/deal.II/numerics/vector_tools_project.h @@ -152,7 +152,7 @@ namespace VectorTools VectorType &vec, const bool enforce_zero_boundary = false, const Quadrature &q_boundary = (dim > 1 ? QGauss(2) : - Quadrature(0)), + Quadrature()), const bool project_to_boundary_first = false); /** @@ -171,7 +171,7 @@ namespace VectorTools VectorType &vec, const bool enforce_zero_boundary = false, const Quadrature &q_boundary = (dim > 1 ? QGauss(2) : - Quadrature(0)), + Quadrature()), const bool project_to_boundary_first = false); /** @@ -190,7 +190,7 @@ namespace VectorTools VectorType &vec, const bool enforce_zero_boundary = false, const hp::QCollection &q_boundary = hp::QCollection( - dim > 1 ? QGauss(2) : Quadrature(0)), + dim > 1 ? QGauss(2) : Quadrature()), const bool project_to_boundary_first = false); /** @@ -209,7 +209,7 @@ namespace VectorTools VectorType &vec, const bool enforce_zero_boundary = false, const hp::QCollection &q_boundary = hp::QCollection( - dim > 1 ? QGauss(2) : Quadrature(0)), + dim > 1 ? QGauss(2) : Quadrature()), const bool project_to_boundary_first = false); /** -- 2.39.5