mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-23 14:53:13 +08:00
Work around compiler bug in Tridiagonalization.h
This commit is contained in:
parent
adf26b6840
commit
e8fdf127c6
@ -451,10 +451,10 @@ struct tridiagonalization_inplace_selector
|
|||||||
diag = mat.diagonal().real();
|
diag = mat.diagonal().real();
|
||||||
subdiag = mat.template diagonal<-1>().real();
|
subdiag = mat.template diagonal<-1>().real();
|
||||||
if (extractQ) {
|
if (extractQ) {
|
||||||
HouseholderSequenceType hh(mat, hCoeffs.conjugate());
|
HouseholderSequenceType(mat, hCoeffs.conjugate())
|
||||||
hh.setLength(mat.rows() - 1);
|
.setLength(mat.rows() - 1)
|
||||||
hh.setShift(1);
|
.setShift(1)
|
||||||
hh.evalTo(mat, workspace);
|
.evalTo(mat, workspace);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user