From e41ceb0c7dda9bc570d24b0513b251ddd4a7b4ac Mon Sep 17 00:00:00 2001
From: Pietro Incardona <i-bird@private-incardon-3.mpi-cbg.de>
Date: Wed, 3 Aug 2016 17:36:33 +0200
Subject: [PATCH] Fixing with latest ExtPreAlloc

---
 src/Matrix/SparseMatrix_Eigen.hpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/Matrix/SparseMatrix_Eigen.hpp b/src/Matrix/SparseMatrix_Eigen.hpp
index 1786fd17..9a5fc42a 100644
--- a/src/Matrix/SparseMatrix_Eigen.hpp
+++ b/src/Matrix/SparseMatrix_Eigen.hpp
@@ -259,10 +259,8 @@ public:
 	    	return false;
 
 	    // Create the HeapMemory and the ExtPreAlloc memory
-	    std::vector<size_t> pap_prp;
-	    pap_prp.push_back(sz);
 	    HeapMemory pmem;
-		ExtPreAlloc<HeapMemory> mem(pap_prp,pmem);
+		ExtPreAlloc<HeapMemory> mem(sz,pmem);
 
 		// read
 	    input.read((char *)pmem.getPointer(), sz);
-- 
GitLab