From 962c99d462dc779b98d00f90616bbbbf6f7f9dd5 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Wed, 20 Feb 2013 13:56:51 +0100 Subject: Metis ordering backend supports only squared matrices --- Eigen/src/MetisSupport/MetisSupport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/MetisSupport/MetisSupport.h') diff --git a/Eigen/src/MetisSupport/MetisSupport.h b/Eigen/src/MetisSupport/MetisSupport.h index 3a723b384..818355e79 100644 --- a/Eigen/src/MetisSupport/MetisSupport.h +++ b/Eigen/src/MetisSupport/MetisSupport.h @@ -29,7 +29,7 @@ public: void get_symmetrized_graph(const MatrixType& A) { Index m = A.cols(); - + eigen_assert((A.rows() == A.cols()) && "ONLY FOR SQUARED MATRICES"); // Get the transpose of the input matrix MatrixType At = A.transpose(); // Get the number of nonzeros elements in each row/col of At+A -- cgit v1.2.3