Commit 12ca9512 authored by berenger-bramas's avatar berenger-bramas
Browse files

Update to remove a wrong binary read.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@197 2616d619-271b-44dc-8df4-d4a8f33a7222
parent e52e44b2
...@@ -126,7 +126,7 @@ public: ...@@ -126,7 +126,7 @@ public:
FDEBUG( FDebug::Controller.writeFromLine("Warning type size between file and FReal are differents\n", __LINE__, __FILE__); ) FDEBUG( FDebug::Controller.writeFromLine("Warning type size between file and FReal are differents\n", __LINE__, __FILE__); )
printf("%d sizeofelement\n",sizeOfElement); printf("%d sizeofelement\n",sizeOfElement);
FDEBUG(}) FDEBUG(})
removeWarning += fread(&this->nbParticles, sizeof(FSize), 1, file); removeWarning += fread(&this->totalNbParticles, sizeof(FSize), 1, file);
removeWarning += fread(&this->boxWidth, sizeof(FReal), 1, file); removeWarning += fread(&this->boxWidth, sizeof(FReal), 1, file);
this->boxWidth *= 2; this->boxWidth *= 2;
......
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