]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix DataOutInterface::set_flags() for GnuplotFlags.
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 30 May 2017 23:51:14 +0000 (17:51 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 30 May 2017 23:51:14 +0000 (17:51 -0600)
source/base/data_out_base.cc

index 77369d55b490b8a0792e7ce99dd943594efcffd3..36cc260b59c3444fd9f1fc61aa9719ea1cb84bd8 100644 (file)
@@ -7141,6 +7141,8 @@ DataOutInterface<dim, spacedim>::set_flags (const FlagType &flags)
     vtk_flags = *reinterpret_cast<const DataOutBase::VtkFlags *>(&flags);
   else if (typeid(flags) == typeid(svg_flags))
     svg_flags = *reinterpret_cast<const DataOutBase::SvgFlags *>(&flags);
+  else if (typeid(flags) == typeid(gnuplot_flags))
+    gnuplot_flags = *reinterpret_cast<const DataOutBase::GnuplotFlags *>(&flags);
   else if (typeid(flags) == typeid(deal_II_intermediate_flags))
     deal_II_intermediate_flags = *reinterpret_cast<const DataOutBase::Deal_II_IntermediateFlags *>(&flags);
   else

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.