From: Wolfgang Bangerth Date: Mon, 7 Jun 2021 16:09:33 +0000 (-0600) Subject: Try to see whether we can avoid special-casing for MS VC in one place. X-Git-Tag: v9.4.0-rc1~1253^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fb54c8b116216cca57083e35d2fe9bfcb07be63;p=dealii.git 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. --- 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 }