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();
subdiag = mat.template diagonal<-1>().real();
if (extractQ) {
HouseholderSequenceType hh(mat, hCoeffs.conjugate());
hh.setLength(mat.rows() - 1);
hh.setShift(1);
hh.evalTo(mat, workspace);
HouseholderSequenceType(mat, hCoeffs.conjugate())
.setLength(mat.rows() - 1)
.setShift(1)
.evalTo(mat, workspace);
}
}
};