]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix assert in DictionaryPayLoad 12963/head
authorPeter Munch <peterrmuench@gmail.com>
Wed, 17 Nov 2021 14:31:40 +0000 (15:31 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Wed, 17 Nov 2021 14:31:40 +0000 (15:31 +0100)
include/deal.II/base/mpi_compute_index_owner_internal.h

index 2a5496d9bd154dcdc8c67ada6f15db32cc9ec2f0..b697c56aed7a0b74ca58270afeb7a9646308c3cb 100644 (file)
@@ -65,7 +65,7 @@ namespace Utilities
             , local_range(local_range)
             , actually_owning_rank_list(actually_owning_rank_list)
           {
-            Assert(local_range.first < local_range.second, ExcInternalError());
+            Assert(local_range.first <= local_range.second, ExcInternalError());
           }
 
           /**

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.