fix 228 (ei_aligned_stack_delete does not exist anymore)
diff --git a/Eigen/src/Core/products/GeneralMatrixMatrix.h b/Eigen/src/Core/products/GeneralMatrixMatrix.h index d558b47..d33f00b 100644 --- a/Eigen/src/Core/products/GeneralMatrixMatrix.h +++ b/Eigen/src/Core/products/GeneralMatrixMatrix.h
@@ -155,9 +155,6 @@ #pragma omp atomic --(info[j].users); } - - ei_aligned_stack_delete(LhsScalar, blockA, kc*mc); - ei_aligned_stack_delete(RhsScalar, w, sizeW); } else #endif // EIGEN_HAS_OPENMP
diff --git a/test/eigen2/eigen2_dynalloc.cpp b/test/eigen2/eigen2_dynalloc.cpp index 1902b7c..6a32ebb 100644 --- a/test/eigen2/eigen2_dynalloc.cpp +++ b/test/eigen2/eigen2_dynalloc.cpp
@@ -70,11 +70,10 @@ { for(int i = 1; i < 1000; i++) { - float *p = ei_aligned_stack_new(float,i); + ei_declare_aligned_stack_constructed_variable(float, p, i, 0); VERIFY(std::size_t(p)%ALIGNMENT==0); // if the buffer is wrongly allocated this will give a bad write --> check with valgrind for(int j = 0; j < i; j++) p[j]=0; - ei_aligned_stack_delete(float,p,i); } }