diff --git a/dune/istl/repartition.hh b/dune/istl/repartition.hh index 1dd57d1da804f8bfe888f71309a735be99cc6cbd..d90b987c29b25e74277cf86c8418b502d5112286 100644 --- a/dune/istl/repartition.hh +++ b/dune/istl/repartition.hh @@ -800,8 +800,9 @@ namespace Dune os<<*cur<<" "; } - inline bool isValidGraph(std::size_t noVtx, std::size_t gnoVtx, idxtype noEdges, idxtype* xadj, - idxtype* adjncy, bool checkSymmetry) + template<class S, class T> + inline bool isValidGraph(std::size_t noVtx, std::size_t gnoVtx, S noEdges, T* xadj, + T* adjncy, bool checkSymmetry) { bool correct=true;