Commit bd249d9a authored by COULAUD Olivier's avatar COULAUD Olivier

Merge branch 'maintenance/scalfmm-1.5' of…

Merge branch 'maintenance/scalfmm-1.5' of https://gitlab.inria.fr/solverstack/ScalFMM into maintenance/scalfmm-1.5
parents 64337688 cbd47f81
......@@ -5,8 +5,10 @@
#include <iostream>
#include <fstream>
#include "../Containers/FBufferReader.hpp"
#include "../Containers/FBufferWriter.hpp"
#include "Utils/FPoint.hpp"
#include "Containers/FBufferReader.hpp"
#include "Containers/FBufferWriter.hpp"
#include "Utils/FPoint.hpp"
/** This class proposes static methods to save and load
......@@ -192,6 +194,7 @@ public:
FSize sizeOfLeaf = 0;
file.read((char*)&sizeOfLeaf, sizeof(FSize));
buffer.seek(0);
buffer.reserve(sizeOfLeaf);
file.read((char*)buffer.data(), sizeOfLeaf);
......@@ -226,6 +229,7 @@ public:
FSize sizeOfCell = 0;
file.read((char*)&sizeOfCell, sizeof(FSize));
buffer.seek(0);
buffer.reserve(sizeOfCell);
file.read((char*)buffer.data(), sizeOfCell);
......
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