]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix bug introduced in r21643.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 12 Aug 2010 07:03:35 +0000 (07:03 +0000)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 12 Aug 2010 07:03:35 +0000 (07:03 +0000)
git-svn-id: https://svn.dealii.org/trunk@21647 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/index_set.h

index 3dd45a5d7e3d42f3279a103bc8e2f62849b54859..a2f795d6cf09bf2481cabd8fdf4f83053d7fdb54 100644 (file)
@@ -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<Range>::const_iterator p = std::lower_bound(ranges.begin(),
                                                          ranges.end(),

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.