From 1b653fec2e23bb78668ca69611d1f713fe55765f Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Tue, 5 May 2015 13:15:57 +0200 Subject: [PATCH] Closes #889 --- include/deal.II/lac/dynamic_sparsity_pattern.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))); } -- 2.39.5