From 1d67d666cb214f61069094e86367f8c18bc1af52 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 21 Jun 2016 13:12:10 -0700 Subject: [PATCH] address comment --- include/deal.II/lac/dynamic_sparsity_pattern.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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