Skip to content
Snippets Groups Projects
Commit e5642e4d authored by Markus Blatt's avatar Markus Blatt
Browse files

Bugfix: Initialisation with -1 did not work. It resulted in a valid

aggregate number and confused the coarsening.

[[Imported from SVN: r1289]]
parent 17770abe
No related branches found
No related tags found
No related merge requests found
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef GLOBALAGGREGATES_HH
#define GLOBALAGGREGATES_HH
#ifndef DUNE_GLOBALAGGREGATES_HH
#define DUNE_GLOBALAGGREGATES_HH
#include "aggregates.hh"
#include "pinfo.hh"
......@@ -94,7 +94,8 @@ namespace Dune
};
template<typename T, typename TI>
const typename TI::GlobalIndex GlobalAggregatesMap<T,TI>::isolatedMarker = -1;
const typename TI::GlobalIndex GlobalAggregatesMap<T,TI>::isolatedMarker =
std::numeric_limits<typename TI::GlobalIndex>::max();
template<typename T, typename TI>
struct AggregatesGatherScatter
......
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