mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix implicit scalar conversions (needed to support fancy scalar types, see bug #276)
(transplanted from d61f1eae804a5dc4924f167c00fbde31c1bef7ea)
This commit is contained in:
@@ -72,7 +72,7 @@ void MatrixBase<Derived>::makeHouseholder(
|
||||
|
||||
if(tailSqNorm == RealScalar(0) && internal::imag(c0)==RealScalar(0))
|
||||
{
|
||||
tau = 0;
|
||||
tau = RealScalar(0);
|
||||
beta = internal::real(c0);
|
||||
essential.setZero();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user