]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix bug in Assert() macro 13614/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 12 Apr 2022 18:32:44 +0000 (14:32 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 12 Apr 2022 18:32:44 +0000 (14:32 -0400)
include/deal.II/particles/particle_accessor.h

index d5a3b3b3aedce219c04629c70e5f88cd1c1c7348..9df7620529badfe5075d9d0ae055aa45dffb03a9 100644 (file)
@@ -784,7 +784,7 @@ namespace Particles
   ParticleAccessor<dim, spacedim>::set_property_pool(
     PropertyPool<dim, spacedim> &new_property_pool)
   {
-    Assert(&new_property_pool = property_pool, ExcInternalError());
+    Assert(&new_property_pool == property_pool, ExcInternalError());
     (void)new_property_pool;
   }
 

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.