From 3c0cb62d0b10b6713e2b7e2d87963bf5eef9a73f Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Thu, 12 Aug 2010 07:03:35 +0000 Subject: [PATCH] Fix bug introduced in r21643. git-svn-id: https://svn.dealii.org/trunk@21647 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/index_set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/base/include/base/index_set.h b/deal.II/base/include/base/index_set.h index 3dd45a5d7e..a2f795d6cf 100644 --- a/deal.II/base/include/base/index_set.h +++ b/deal.II/base/include/base/index_set.h @@ -678,7 +678,7 @@ IndexSet::nth_index_in_set (const unsigned int n) const // belongs to by using a binary search. the // comparator is based on the end of the // ranges - Range r (0,0); + Range r (n,n+1); r.nth_index_in_set = n; std::vector::const_iterator p = std::lower_bound(ranges.begin(), ranges.end(), -- 2.39.5