mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-24 23:26:59 +08:00
Explicitly construct the scalar for non-implicitly convertible types
This commit is contained in:
parent
171bd08ca9
commit
d81aa18f4d
@ -345,7 +345,7 @@ EIGEN_DEVICE_FUNC void tridiagonalization_inplace(MatrixType& matA, CoeffVectorT
|
||||
|
||||
// Apply similarity transformation to remaining columns,
|
||||
// i.e., A = H A H' where H = I - h v v' and v = matA.col(i).tail(n-i-1)
|
||||
matA.col(i).coeffRef(i + 1) = 1;
|
||||
matA.col(i).coeffRef(i + 1) = Scalar(1);
|
||||
|
||||
hCoeffs.tail(n - i - 1).noalias() =
|
||||
(matA.bottomRightCorner(remainingSize, remainingSize).template selfadjointView<Lower>() *
|
||||
|
Loading…
x
Reference in New Issue
Block a user