From: Martin Kronbichler Date: Thu, 12 Aug 2010 07:03:35 +0000 (+0000) Subject: Fix bug introduced in r21643. X-Git-Tag: v8.0.0~5737 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c0cb62d0b10b6713e2b7e2d87963bf5eef9a73f;p=dealii.git Fix bug introduced in r21643. git-svn-id: https://svn.dealii.org/trunk@21647 0785d39b-7218-0410-832d-ea1e28bc413d --- 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(),