Skip to content
Snippets Groups Projects
Commit 5a90f8d7 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fixes size of buffer to write

parent 354bf527
No related branches found
No related tags found
1 merge request!31particle_subsample
Pipeline #97068 passed
......@@ -245,7 +245,7 @@ class abstract_particle_set
0,
field_to_sample->comm,
pdata.get(),
this->getLocalNumberOfParticles(),
this->getLocalNumberOfParticles()*ncomp(fc),
file_id,
species_name + std::string("/") + field_name + std::string("/") + std::to_string(iteration));
H5Fclose(file_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment