From a6a7a3ca08fe76ba8388048a50d290d4af3e9daa Mon Sep 17 00:00:00 2001
From: "Dmitry Yu. Naumov" <github@naumov.de>
Date: Fri, 25 Sep 2015 00:41:59 +0000
Subject: [PATCH] [MaL] Remove asserts checked inside of eigen lib.

---
 MathLib/LinAlg/Eigen/EigenMatrix.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/MathLib/LinAlg/Eigen/EigenMatrix.h b/MathLib/LinAlg/Eigen/EigenMatrix.h
index 5556195cdc8..4cbd970c03d 100644
--- a/MathLib/LinAlg/Eigen/EigenMatrix.h
+++ b/MathLib/LinAlg/Eigen/EigenMatrix.h
@@ -10,7 +10,6 @@
 #ifndef EIGENMATRIX_H_
 #define EIGENMATRIX_H_
 
-#include <cassert>
 #ifndef NDEBUG
 #include <fstream>
 #include <string>
@@ -79,7 +78,6 @@ public:
     /// inserted.
     int add(IndexType row, IndexType col, double val)
     {
-        assert(row < getNRows() && col < getNCols());
         _mat.coeffRef(row, col) += val;
         return 0;
     }
@@ -120,7 +118,6 @@ public:
     /// get value. This function returns zero if the element doesn't exist.
     double get(IndexType row, IndexType col) const
     {
-        assert(row < getNRows() && col < getNCols());
         return _mat.coeff(row, col);
     }
 
-- 
GitLab