From 627151f308d4560847a0a36957f9d772a07d9ee4 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Tue, 23 Dec 2014 11:33:08 +0100 Subject: [PATCH] Fix undefined symbols on Mac. Deactivate ShapeInfo::reinit on MSVC target as proposed in c2021e2. --- source/matrix_free/matrix_free.inst.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/matrix_free/matrix_free.inst.in b/source/matrix_free/matrix_free.inst.in index dfd4ce05ad..0b7522c3f1 100644 --- a/source/matrix_free/matrix_free.inst.in +++ b/source/matrix_free/matrix_free.inst.in @@ -31,5 +31,14 @@ for (deal_II_dimension : DIMENSIONS) template struct internal::MatrixFreeFunctions::MappingInfo; template struct internal::MatrixFreeFunctions::MappingInfo; + +#ifndef DEAL_II_MSVC + template void internal::MatrixFreeFunctions::ShapeInfo::reinit + (const Quadrature<1> &, const FiniteElement + &, const unsigned int); + template void internal::MatrixFreeFunctions::ShapeInfo::reinit + (const Quadrature<1> &, const FiniteElement + &, const unsigned int); +#endif } -- 2.39.5