Commit a8f2cfe3 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Add backwards compatible fix on bigunsignedint typetrait

parent 8b2534e3
Pipeline #39459 failed with stage
in 7 minutes and 49 seconds
......@@ -8,6 +8,7 @@
#include <dune/common/parallel/mpihelper.hh>
#include <dune/common/stdstreams.hh>
#include <dune/common/typetraits.hh>
#include <dune/common/version.hh>
#if HAVE_UG && PDELAB_SEQUENTIAL_UG
// We need the UGGrid declaration for the assertion
......@@ -32,6 +33,16 @@
#include <dune/pdelab/backend/istl/utility.hh>
#include <dune/pdelab/gridfunctionspace/tags.hh>
// A solution for thi was included in dune-common!995 after 2.8.0
#if DUNE_VERSION_LTE_REV(DUNE_COMMON,2,8,0)
namespace Dune{
//! Declare big unsigned int is a number
template <int k> struct IsNumber<bigunsignedint<k>> : public std::true_type {};
}
#endif
namespace Dune {
namespace PDELab {
namespace ISTL {
......
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