From 5afaacedc6129ae6c9488c8c6a0ec9179dda6abc Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Fri, 7 Dec 2012 15:32:04 +0100 Subject: Update SPQR interface --- Eigen/src/CholmodSupport/CholmodSupport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Eigen/src/CholmodSupport') diff --git a/Eigen/src/CholmodSupport/CholmodSupport.h b/Eigen/src/CholmodSupport/CholmodSupport.h index 44a51557f..26abaf48f 100644 --- a/Eigen/src/CholmodSupport/CholmodSupport.h +++ b/Eigen/src/CholmodSupport/CholmodSupport.h @@ -141,8 +141,8 @@ template MappedSparseMatrix viewAsEigen(cholmod_sparse& cm) { return MappedSparseMatrix - (cm.nrow, cm.ncol, reinterpret_cast(cm.p)[cm.ncol], - reinterpret_cast(cm.p), reinterpret_cast(cm.i),reinterpret_cast(cm.x) ); + (cm.nrow, cm.ncol, static_cast(cm.p)[cm.ncol], + static_cast(cm.p), static_cast(cm.i),static_cast(cm.x) ); } enum CholmodMode { -- cgit v1.2.3