From: Luca Heltai Date: Tue, 5 May 2015 11:15:57 +0000 (+0200) Subject: Closes #889 X-Git-Tag: v8.3.0-rc1~199^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F901%2Fhead;p=dealii.git Closes #889 --- diff --git a/include/deal.II/lac/dynamic_sparsity_pattern.h b/include/deal.II/lac/dynamic_sparsity_pattern.h index 3877c6215f..97eab72ba2 100644 --- a/include/deal.II/lac/dynamic_sparsity_pattern.h +++ b/include/deal.II/lac/dynamic_sparsity_pattern.h @@ -739,7 +739,9 @@ namespace DynamicSparsityPatternIterators { return (sparsity_pattern == other.sparsity_pattern && current_row == other.current_row && - current_entry == other.current_entry); + ((current_entry == other.current_entry) + || + (current_row == numbers::invalid_unsigned_int))); }