aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Eigenvalues/ComplexSchur.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-11-18 18:15:19 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-11-18 18:15:19 +0100
commite3d890bc5a89798eff50ff6650292b4fa934f72e (patch)
tree3c7d40332a019dce2773fc6a096d046eeab9fb7a /Eigen/src/Eigenvalues/ComplexSchur.h
parent0529ecfe1b43d40e40755a2d856188d3ded2c14e (diff)
Another big refactoring change:
* add a new Eigen2Support module including Cwise, Flagged, and some other deprecated stuff * add a few cwiseXxx functions * adapt a few modules to use cwiseXxx instead of the .cwise() prefix
Diffstat (limited to 'Eigen/src/Eigenvalues/ComplexSchur.h')
-rw-r--r--Eigen/src/Eigenvalues/ComplexSchur.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Eigenvalues/ComplexSchur.h b/Eigen/src/Eigenvalues/ComplexSchur.h
index a25af342d..38a1f56dc 100644
--- a/Eigen/src/Eigenvalues/ComplexSchur.h
+++ b/Eigen/src/Eigenvalues/ComplexSchur.h
@@ -204,7 +204,7 @@ void ComplexSchur<MatrixType>::compute(const MatrixType& matrix, bool skipU)
// compute the shift (the normalization by sf is to avoid under/overflow)
Matrix<Scalar,2,2> t = m_matT.template block<2,2>(iu-1,iu-1);
- sf = t.cwise().abs().sum();
+ sf = t.cwiseAbs().sum();
t /= sf;
c = t.determinant();