Inverted sign in householder

This commit is contained in:
russellb23 2019-06-24 08:49:57 +05:30 committed by Crozet Sébastien
parent f8c0195f0f
commit a2f3e1ac26

View File

@ -34,7 +34,7 @@ pub fn reflection_axis_mut<N: ComplexField, D: Dim, S: StorageMut<N, D>>(
if !factor.is_zero() {
column.unscale_mut(factor.sqrt());
(-signed_norm, true)
(signed_norm, true)
} else {
// TODO: not sure why we don't have a - sign here.
(signed_norm, false)