From 7a830e03bf1246bdc22dc0895f4d57c0100b2e04 Mon Sep 17 00:00:00 2001 From: heister Date: Sat, 9 Nov 2013 02:29:29 +0000 Subject: [PATCH] fix warning git-svn-id: https://svn.dealii.org/trunk@31599 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/base/data_out_base.inst.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deal.II/source/base/data_out_base.inst.in b/deal.II/source/base/data_out_base.inst.in index 96cc2fea22..28547f6d17 100644 --- a/deal.II/source/base/data_out_base.inst.in +++ b/deal.II/source/base/data_out_base.inst.in @@ -111,6 +111,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS const std::vector > &vector_data_ranges, const TecplotFlags &flags, std::ostream &out); + +#if deal_II_space_dimension >1 template void DataOutBase::write_svg (const std::vector > &patches, @@ -118,6 +120,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS const std::vector > &vector_data_ranges, const SvgFlags &flags, std::ostream &out); +#endif template void DataOutBase::write_deal_II_intermediate (const std::vector > &patches, -- 2.39.5