]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix invalid number of particle properties in a test
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Sat, 5 May 2018 18:38:38 +0000 (11:38 -0700)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Sat, 5 May 2018 19:06:42 +0000 (12:06 -0700)
tests/particles/particle_04.cc

index 99fabb67ecd6cf6114e41b7b0b23ab088f280514..49a6b6b0e070241a81db8ef50c5ba23f1251055d 100644 (file)
@@ -55,7 +55,7 @@ void test ()
     particle.write_data(write_pointer);
 
     const void *read_pointer = static_cast<const void *> (&data.front());
-    Particles::PropertyPool pool;
+    Particles::PropertyPool pool(0);
     const Particles::Particle<dim,spacedim> new_particle(read_pointer,pool);
 
     deallog << "Copy particle location: " << new_particle.get_location() << std::endl

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.