aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/sparse_extra.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-12-08 23:15:07 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-12-08 23:15:07 +0100
commite36a4c880a50002e0fd7ea38a0154830b8eda0d5 (patch)
tree6c06a9e90f01b9066f2b127b43fa38bd9f3a6ea3 /unsupported/test/sparse_extra.cpp
parent06450882ab20b184576b3ecc8699464c3f66cd1a (diff)
suppress deprecated warning when compiling legacy tests
Diffstat (limited to 'unsupported/test/sparse_extra.cpp')
-rw-r--r--unsupported/test/sparse_extra.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/unsupported/test/sparse_extra.cpp b/unsupported/test/sparse_extra.cpp
index e8c584640..6c5c888ae 100644
--- a/unsupported/test/sparse_extra.cpp
+++ b/unsupported/test/sparse_extra.cpp
@@ -22,8 +22,9 @@
// License and a copy of the GNU General Public License along with
// Eigen. If not, see <http://www.gnu.org/licenses/>.
-//#include "sparse.h"
+
// import basic and product tests for deprectaed DynamicSparseMatrix
+#define EIGEN_NO_DEPRECATED_WARNING
#include "sparse_basic.cpp"
#include "sparse_product.cpp"
#include <Eigen/SparseExtra>