From a2f3e1ac26ceff96d5ac0a0e2e2204c92374ca59 Mon Sep 17 00:00:00 2001 From: russellb23 Date: Mon, 24 Jun 2019 08:49:57 +0530 Subject: [PATCH] Inverted sign in householder --- src/linalg/householder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linalg/householder.rs b/src/linalg/householder.rs index ebbffd30..3692fe31 100644 --- a/src/linalg/householder.rs +++ b/src/linalg/householder.rs @@ -34,7 +34,7 @@ pub fn reflection_axis_mut>( 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)