From: Timo Heister Date: Tue, 21 Jun 2016 20:12:10 +0000 (-0700) Subject: address comment X-Git-Tag: v8.5.0-rc1~967^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2690%2Fhead;p=dealii.git address comment --- diff --git a/include/deal.II/lac/dynamic_sparsity_pattern.h b/include/deal.II/lac/dynamic_sparsity_pattern.h index c2e35819af..c1d1d62d39 100644 --- a/include/deal.II/lac/dynamic_sparsity_pattern.h +++ b/include/deal.II/lac/dynamic_sparsity_pattern.h @@ -1085,10 +1085,11 @@ DynamicSparsityPattern::begin (const size_type r) const } // Without an index set we have to do a linear search starting at - // row r until we find a non-empty one + // row r until we find a non-empty one. We will check the lines vector + // directly instead of going through the slower row_length() function size_type row = r; - while (row