Commit ed8a2988 authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille

FBasicParticleContainer is working

parent 31427e57
......@@ -248,7 +248,7 @@ public:
/** The size to send a leaf */
int getSavedSize() const{
return int(nbParticles * (3 * sizeof(FReal) + NbAttributesPerParticle * sizeof(AttributeClass)));
return int(sizeof(nbParticles) + nbParticles * (3 * sizeof(FReal) + NbAttributesPerParticle * sizeof(AttributeClass)));
}
/** Save the current cell in a buffer */
......
Markdown is supported
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