diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-01-01 11:40:30 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-01-01 11:40:30 +0100 |
commit | e7318148b574a1dcb2bbf1a4a673d9e7d38c1497 (patch) | |
tree | abf9d22102c4fddf98b4fb9aebe298c234740129 /unsupported | |
parent | 7feb644620578c2487a68827a68f941fa29ad592 (diff) |
an attempt to fix a compilation issue with -std=c++0x
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/src/SparseExtra/UmfPackSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h b/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h index 4be1aca62..c3e9c42ec 100644 --- a/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h +++ b/unsupported/Eigen/src/SparseExtra/UmfPackSupport.h @@ -52,7 +52,7 @@ inline int umfpack_symbolic(int n_row,int n_col, const int Ap[], const int Ai[], const std::complex<double> Ax[], void **Symbolic, const double Control [UMFPACK_CONTROL], double Info [UMFPACK_INFO]) { - return umfpack_zi_symbolic(n_row,n_col,Ap,Ai,&Ax[0].real(),0,Symbolic,Control,Info); + return umfpack_zi_symbolic(n_row,n_col,Ap,Ai,&(Ax[0].real()),0,Symbolic,Control,Info); } inline int umfpack_numeric( const int Ap[], const int Ai[], const double Ax[], |