diff --git a/Eigen/src/Sparse/CholmodSupport.h b/Eigen/src/Sparse/CholmodSupport.h index f451dbcc0..9a13ae883 100644 --- a/Eigen/src/Sparse/CholmodSupport.h +++ b/Eigen/src/Sparse/CholmodSupport.h @@ -94,7 +94,7 @@ SparseMatrix SparseMatrix::Map(cholmod_sparse& cm) reinterpret_cast(cm.x), res.m_outerIndex[cm.ncol]); res.m_data.swap(data); - // res.markAsRValue(); + res.markAsRValue(); return res; } diff --git a/Eigen/src/Sparse/TaucsSupport.h b/Eigen/src/Sparse/TaucsSupport.h index 26bf19c5b..55d2892ec 100644 --- a/Eigen/src/Sparse/TaucsSupport.h +++ b/Eigen/src/Sparse/TaucsSupport.h @@ -74,7 +74,7 @@ SparseMatrix SparseMatrix::Map(taucs_ccs_matrix& tau reinterpret_cast(taucsMat.values.v), taucsMat.colptr[taucsMat.n]); res.m_data.swap(data); - // res.markAsRValue(); + res.markAsRValue(); return res; }