From 0fb54c8b116216cca57083e35d2fe9bfcb07be63 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 7 Jun 2021 10:09:33 -0600 Subject: [PATCH] Try to see whether we can avoid special-casing for MS VC in one place. This error is currently triggered when running step-21. It is possible that with the move to get_default_linear_mapping(dof.get_triangulation()) we no longer need this. --- include/deal.II/numerics/vector_tools_project.templates.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/deal.II/numerics/vector_tools_project.templates.h b/include/deal.II/numerics/vector_tools_project.templates.h index 06a8f4e298..b61b56ec1b 100644 --- a/include/deal.II/numerics/vector_tools_project.templates.h +++ b/include/deal.II/numerics/vector_tools_project.templates.h @@ -882,11 +882,6 @@ namespace VectorTools const Quadrature &q_boundary, const bool project_to_boundary_first) { -#ifdef _MSC_VER - Assert(false, - ExcMessage("Please specify the mapping explicitly " - "when building with MSVC!")); -#else project(get_default_linear_mapping(dof.get_triangulation()), dof, constraints, @@ -896,7 +891,6 @@ namespace VectorTools enforce_zero_boundary, q_boundary, project_to_boundary_first); -#endif } -- 2.39.5