On 2016-09-12 12:50, Peter wrote:
template<typename Scalar, typename RealScalar, typename EssentialPart>
void handle_householder_zero( Scalar& tau, RealScalar& beta,
EssentialPart& essential , const RealScalar& tol, const Scalar& c0)
{
tau=0;
beta = 0;
beta should still be numext::real(c0); here.
Overall, we might consider including such change, if you actually found a solution for your use case (maybe this allows/requires specializing less/more of the method).
But I guess you are ok with a local change, while you are debugging.