aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/householder.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-01-07 22:00:45 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-01-07 22:00:45 -0500
commitb05f59ee07d1d245db7ef6d6b1ba5c371e9b12e4 (patch)
tree21be445e7e626fcd117049c934fe64ee27b6bb3b /test/householder.cpp
parent58fb27cd566f4057cee914be4cfe4f87abe8dc04 (diff)
Diffstat (limited to 'test/householder.cpp')
-rw-r--r--test/householder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/householder.cpp b/test/householder.cpp
index 4e4c78863..85492cdff 100644
--- a/test/householder.cpp
+++ b/test/householder.cpp
@@ -79,7 +79,7 @@ template<typename MatrixType> void householder(const MatrixType& m)
m3.rowwise() = v1.transpose();
m4 = m3;
m3.row(0).makeHouseholder(essential, beta, alpha);
- m3.applyHouseholderOnTheRight(essential,beta,tmp);
+ m3.applyHouseholderOnTheRight(essential.transpose(),beta,tmp);
VERIFY_IS_APPROX(m3.norm(), m4.norm());
VERIFY_IS_MUCH_SMALLER_THAN(m3.block(0,1,rows,rows-1).norm(), m3.norm());
VERIFY_IS_MUCH_SMALLER_THAN(ei_imag(m3(0,0)), ei_real(m3(0,0)));