mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-14 18:33:16 +08:00
one last compilation fix ...
This commit is contained in:
parent
789ea9d676
commit
6f158fb7fc
@ -164,7 +164,7 @@ Tridiagonalization<MatrixType>::matrixT(void) const
|
|||||||
// and fill it ? (to avoid temporaries)
|
// and fill it ? (to avoid temporaries)
|
||||||
int n = m_matrix.rows();
|
int n = m_matrix.rows();
|
||||||
MatrixType matT = m_matrix;
|
MatrixType matT = m_matrix;
|
||||||
matT.corner(TopRight,n-1, n-1).diagonal() = subDiagonal().conjugate();
|
matT.corner(TopRight,n-1, n-1).diagonal() = subDiagonal().template cast<Scalar>().conjugate();
|
||||||
if (n>2)
|
if (n>2)
|
||||||
{
|
{
|
||||||
matT.corner(TopRight,n-2, n-2).template part<UpperTriangular>().setZero();
|
matT.corner(TopRight,n-2, n-2).template part<UpperTriangular>().setZero();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user