Commit 3372d56a authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

fixes size of buffer to write

parent 2f13a4e8
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment