From 37d8e12b926d5314af68bf2bcf0642f6dc44ba60 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 2 Feb 2014 21:53:39 +0000 Subject: [PATCH] Help MS VC++ recognize which template function to take. git-svn-id: https://svn.dealii.org/trunk@32378 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/deal.II/numerics/vector_tools.templates.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/numerics/vector_tools.templates.h b/deal.II/include/deal.II/numerics/vector_tools.templates.h index 3339eaf63b..6b57aea315 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.templates.h +++ b/deal.II/include/deal.II/numerics/vector_tools.templates.h @@ -1,7 +1,7 @@ // --------------------------------------------------------------------- // $Id$ // -// Copyright (C) 2005 - 2013 by the deal.II authors +// Copyright (C) 2005 - 2014 by the deal.II authors // // This file is part of the deal.II library. // @@ -1707,8 +1707,13 @@ namespace VectorTools + // template for the case dim!=1. Since the function has a template argument + // dim_, it is clearly less specialized than the 1d function above and + // whenever possible (i.e., if dim==1), the function template above + // will be used template class M_or_MC> + template class M_or_MC, + int dim_> static inline void do_interpolate_boundary_values (const M_or_MC &mapping, @@ -1716,7 +1721,7 @@ namespace VectorTools const typename FunctionMap::type &function_map, std::map &boundary_values, const ComponentMask &component_mask, - const dealii::internal::int2type) + const dealii::internal::int2type) { const unsigned int dim = DH::dimension; const unsigned int spacedim=DH::space_dimension; -- 2.39.5