Skip to content
Snippets Groups Projects
Commit ae495d90 authored by René Fritze's avatar René Fritze
Browse files

disable tests/examples for non-existant modules

parent 4aac7424
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ namespace boost {
namespace math {
//! isinf specialization for Dune::StraightenBlockVector
template <class BlockVectorImp, class DofImp>
#if DUNE_VERSION_NEWER(DUNE_FEM, 1, 4)
#if DUNE_VERSION_NEWER(DUNE_FEM, 1, 5)
inline bool isinf(const Dune::Fem::StraightenBlockVector<BlockVectorImp, DofImp>& x)
{
#else
......
......@@ -10,7 +10,8 @@
#include <dune/grid/common/gridview.hh>
#include <boost/serialization/static_warning.hpp>
#ifdef HAVE_DUNE_FEM
#if HAVE_DUNE_FEM
#include <dune/fem/version.hh>
#include <dune/fem/function/common/discretefunction.hh>
#include <dune/fem/gridpart/common/gridpart.hh>
#endif
......@@ -19,7 +20,7 @@
namespace std {
#ifdef HAVE_DUNE_FEM
#if HAVE_DUNE_FEM
template <class DiscreteFunctionTraits>
auto begin(const Dune::DiscreteFunctionInterface<DiscreteFunctionTraits>& func) -> decltype(func.dbegin())
......@@ -143,7 +144,7 @@ intersectionRange(const Dune::GridView<GridViewTraits>& gridview,
typename Dune::GridView<GridViewTraits>::template Codim<0>::Entity>(gridview, entity);
}
#ifdef HAVE_DUNE_FEM
#if defined(HAVE_DUNE_FEM) && HAVE_DUNE_GRID
template <class GridPartTraits>
IntersectionRange<Dune::GridPartInterface<GridPartTraits>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment