Commit 95eb61c9 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Add missing include config.h

parent e7c94c16
#include "types.hh"
#include <config.h>
#include <iostream>
#include <map>
#include <dune/common/exceptions.hh>
#include <dune/vtk/types.hh>
namespace Dune {
namespace Vtk {
......@@ -93,7 +94,7 @@ std::string to_string (Vtk::DataTypes type)
}
}
#if DUNE_VERSION_GTE(DUNE_GRID,2,7)
#if ! DUNE_VERSION_LT(DUNE_GRID,2,7)
Vtk::DataTypes dataTypeOf (Dune::VTK::Precision p)
{
switch (p) {
......
......@@ -58,7 +58,7 @@ namespace Dune
};
std::string to_string (Vtk::DataTypes);
#if DUNE_VERSION_GTE(DUNE_GRID,2,7)
#if ! DUNE_VERSION_LT(DUNE_GRID,2,7)
// Map a dune-grid Precision type to DataTypes
Vtk::DataTypes dataTypeOf (Dune::VTK::Precision);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment