diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-07-30 11:39:52 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-07-30 11:39:52 +0200 |
commit | 929e77192cb8c0839238ff95e7eb1b310c627176 (patch) | |
tree | 7205bce65b53144f6c8bda3f0aedf2b4f01ea4a3 /Eigen/src/SparseCore/SparseSelfAdjointView.h | |
parent | baa77ffe3878ec80f1b136856dbc31d21eac2a1e (diff) |
Various minor fixes
Diffstat (limited to 'Eigen/src/SparseCore/SparseSelfAdjointView.h')
-rw-r--r-- | Eigen/src/SparseCore/SparseSelfAdjointView.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/SparseCore/SparseSelfAdjointView.h b/Eigen/src/SparseCore/SparseSelfAdjointView.h index ff51fc435..10cd755a4 100644 --- a/Eigen/src/SparseCore/SparseSelfAdjointView.h +++ b/Eigen/src/SparseCore/SparseSelfAdjointView.h @@ -238,7 +238,7 @@ template<typename DerivedU> SparseSelfAdjointView<MatrixType,Mode>& SparseSelfAdjointView<MatrixType,Mode>::rankUpdate(const SparseMatrixBase<DerivedU>& u, const Scalar& alpha) { - SparseMatrix<Scalar,MatrixType::Flags&RowMajorBit?RowMajor:ColMajor> tmp = u * u.adjoint(); + SparseMatrix<Scalar,(MatrixType::Flags&RowMajorBit)?RowMajor:ColMajor> tmp = u * u.adjoint(); if(alpha==Scalar(0)) m_matrix.const_cast_derived() = tmp.template triangularView<Mode>(); else |