]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix warning
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Nov 2013 02:29:29 +0000 (02:29 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 9 Nov 2013 02:29:29 +0000 (02:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@31599 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/data_out_base.inst.in

index 96cc2fea2281a7d6f06ba500ae78ab308fbf5303..28547f6d1718791f737a21ec165fae3efde191b6 100644 (file)
@@ -111,6 +111,8 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
                         const std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                         const TecplotFlags                          &flags,
                         std::ostream                            &out);
+
+#if deal_II_space_dimension >1
   template
   void
   DataOutBase::write_svg (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,
@@ -118,6 +120,7 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
                         const std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > &vector_data_ranges,
                         const SvgFlags                          &flags,
                         std::ostream                            &out);
+#endif
   template
   void
   DataOutBase::write_deal_II_intermediate (const std::vector<Patch<deal_II_dimension,deal_II_space_dimension> > &patches,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.