diff options
Diffstat (limited to 'Eigen/src/OrderingMethods/Amd.h')
-rw-r--r-- | Eigen/src/OrderingMethods/Amd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/src/OrderingMethods/Amd.h b/Eigen/src/OrderingMethods/Amd.h index 509f02ecb..df4e01d6c 100644 --- a/Eigen/src/OrderingMethods/Amd.h +++ b/Eigen/src/OrderingMethods/Amd.h @@ -48,6 +48,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef EIGEN_SPARSE_AMD_H #define EIGEN_SPARSE_AMD_H +namespace Eigen { + namespace internal { template<typename T> inline T amd_flip(const T& i) { return -i-2; } @@ -444,4 +446,6 @@ void minimum_degree_ordering(SparseMatrix<Scalar,ColMajor,Index>& C, Permutation } // namespace internal +} // end namespace Eigen + #endif // EIGEN_SPARSE_AMD_H |