diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-06-24 17:24:32 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-06-24 17:24:32 +0200 |
commit | 4cc937794117a27c7a1d2643fdadd242dc83359a (patch) | |
tree | 4a26c88a61d5333cb1a52ae3c624eff8468e5f33 /Eigen/src/SuperLUSupport | |
parent | ee8a28fb853d5bbf47bffb7e4c1adaabfe76d96c (diff) |
fix casting from double* to void* in SuperLU and Cholmod support
Diffstat (limited to 'Eigen/src/SuperLUSupport')
-rw-r--r-- | Eigen/src/SuperLUSupport/SuperLUSupport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SuperLUSupport/SuperLUSupport.h b/Eigen/src/SuperLUSupport/SuperLUSupport.h index 3034c7af5..bcb355760 100644 --- a/Eigen/src/SuperLUSupport/SuperLUSupport.h +++ b/Eigen/src/SuperLUSupport/SuperLUSupport.h @@ -160,7 +160,7 @@ struct SluMatrix : SuperMatrix res.ncol = mat.cols(); res.storage.lda = MatrixType::IsVectorAtCompileTime ? mat.size() : mat.outerStride(); - res.storage.values = mat.data(); + res.storage.values = (void*)(mat.data()); return res; } @@ -377,7 +377,7 @@ class SuperLUBase : internal::noncopyable } template<typename Stream> - void dumpMemory(Stream& s) + void dumpMemory(Stream& /*s*/) {} protected: |