diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-06-09 09:11:12 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-06-09 09:11:12 +0200 |
commit | 9a2447b0c95bb62bd3e5ae68bf14d2c5e66a18cf (patch) | |
tree | 40712813d830e39c1e8e5b32be7c46abf4c90695 /Eigen/src/SparseCore/SparseView.h | |
parent | cd8b996f99de67035a0504cbaf0a627fb68f0f1d (diff) |
Fix shadow warnings triggered by clang
Diffstat (limited to 'Eigen/src/SparseCore/SparseView.h')
-rw-r--r-- | Eigen/src/SparseCore/SparseView.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/SparseCore/SparseView.h b/Eigen/src/SparseCore/SparseView.h index 1c69aa458..0a87f01d9 100644 --- a/Eigen/src/SparseCore/SparseView.h +++ b/Eigen/src/SparseCore/SparseView.h @@ -36,9 +36,9 @@ public: EIGEN_SPARSE_PUBLIC_INTERFACE(SparseView) typedef typename internal::remove_all<MatrixType>::type NestedExpression; - explicit SparseView(const MatrixType& mat, const Scalar& m_reference = Scalar(0), - RealScalar m_epsilon = NumTraits<Scalar>::dummy_precision()) : - m_matrix(mat), m_reference(m_reference), m_epsilon(m_epsilon) {} + explicit SparseView(const MatrixType& mat, const Scalar& reference = Scalar(0), + RealScalar epsilon = NumTraits<Scalar>::dummy_precision()) + : m_matrix(mat), m_reference(reference), m_epsilon(epsilon) {} inline Index rows() const { return m_matrix.rows(); } inline Index cols() const { return m_matrix.cols(); } |