aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/hessenberg.cpp
diff options
context:
space:
mode:
authorGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-05-24 17:36:13 +0100
committerGravatar Jitse Niesen <jitse@maths.leeds.ac.uk>2010-05-24 17:36:13 +0100
commit68820fd4e8a8206d7bd1e80a773877322f7fe3ce (patch)
tree1ec44808510dbe4ad9a9b6f64ecd259dca88b28b /test/hessenberg.cpp
parenteb3ca68684c2fa4786578e618b04029a351c0fc1 (diff)
Use ReturnByValue mechanism for HessenbergDecomposition::matrixH().
Diffstat (limited to 'test/hessenberg.cpp')
-rw-r--r--test/hessenberg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hessenberg.cpp b/test/hessenberg.cpp
index 61ff98150..16aa564ae 100644
--- a/test/hessenberg.cpp
+++ b/test/hessenberg.cpp
@@ -49,7 +49,7 @@ template<typename Scalar,int Size> void hessenberg(int size = Size)
HessenbergDecomposition<MatrixType> cs1;
cs1.compute(A);
HessenbergDecomposition<MatrixType> cs2(A);
- VERIFY_IS_EQUAL(cs1.matrixH(), cs2.matrixH());
+ VERIFY_IS_EQUAL(cs1.matrixH().eval(), cs2.matrixH().eval());
MatrixType cs1Q = cs1.matrixQ();
MatrixType cs2Q = cs2.matrixQ();
VERIFY_IS_EQUAL(cs1Q, cs2Q);