hack to to make the nomalloc unit test compiles with -pedantic

This commit is contained in:
Gael Guennebaud 2008-06-04 10:15:48 +00:00
parent 42ad9c4352
commit 60726f91a9

View File

@ -22,11 +22,10 @@
// License and a copy of the GNU General Public License along with
// Eigen. If not, see <http://www.gnu.org/licenses/>.
#define throw(X)
#define EIGEN_DONT_VECTORIZE 1
#include "main.h"
// #define CUSTOM_NEW_DELETE(TYPE)
void* operator new[] (size_t n)
{
ei_assert(false && "operator new should never be called with fixed size path");