From 15395440fd15c4734c4cf1c0b1a9bf2d612926b2 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 7 May 2015 11:31:26 -0500 Subject: [PATCH] Update documentation for a recent commit. --- include/deal.II/lac/dynamic_sparsity_pattern.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/deal.II/lac/dynamic_sparsity_pattern.h b/include/deal.II/lac/dynamic_sparsity_pattern.h index 97eab72ba2..d42bb76bb0 100644 --- a/include/deal.II/lac/dynamic_sparsity_pattern.h +++ b/include/deal.II/lac/dynamic_sparsity_pattern.h @@ -737,6 +737,10 @@ namespace DynamicSparsityPatternIterators bool Accessor::operator == (const Accessor &other) const { + // compare the sparsity pattern the iterator points into, the + // current row, and the location within this row. ignore the + // latter if the row is past-the-end because in that case the + // current_entry field may not point to a deterministic location return (sparsity_pattern == other.sparsity_pattern && current_row == other.current_row && ((current_entry == other.current_entry) -- 2.39.5