Work around compiler bug in Tridiagonalization.h

This commit is contained in:
Rasmus Munk Larsen 2023-03-10 21:21:07 +00:00
parent adf26b6840
commit e8fdf127c6

View File

@ -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);
} }
} }
}; };