diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-07-27 13:50:23 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-07-27 13:50:23 +0200 |
commit | 94cc30180e5b7bec9399d796945e41245c16afeb (patch) | |
tree | 8a47472dd8b4253ed966485ad2675471eb025e46 /test/product_trmv.cpp | |
parent | 0590c18555bd5d195e29ee6a131285cf0f80f9d1 (diff) |
compilation fixes
Diffstat (limited to 'test/product_trmv.cpp')
-rw-r--r-- | test/product_trmv.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/product_trmv.cpp b/test/product_trmv.cpp index 876fb4388..b4d45cca2 100644 --- a/test/product_trmv.cpp +++ b/test/product_trmv.cpp @@ -24,7 +24,7 @@ #include "main.h" -template<typename MatrixType> void product_triangular(const MatrixType& m) +template<typename MatrixType> void trmv(const MatrixType& m) { typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits<Scalar>::Real RealScalar; @@ -79,14 +79,14 @@ template<typename MatrixType> void product_triangular(const MatrixType& m) // TODO check with sub-matrices } -void test_product_triangular() +void test_product_trmv() { for(int i = 0; i < g_repeat ; i++) { - CALL_SUBTEST( product_triangular(Matrix<float, 1, 1>()) ); - CALL_SUBTEST( product_triangular(Matrix<float, 2, 2>()) ); - CALL_SUBTEST( product_triangular(Matrix3d()) ); - CALL_SUBTEST( product_triangular(Matrix<std::complex<float>,23, 23>()) ); - CALL_SUBTEST( product_triangular(MatrixXcd(17,17)) ); - CALL_SUBTEST( product_triangular(Matrix<float,Dynamic,Dynamic,RowMajor>(19, 19)) ); + CALL_SUBTEST( trmv(Matrix<float, 1, 1>()) ); + CALL_SUBTEST( trmv(Matrix<float, 2, 2>()) ); + CALL_SUBTEST( trmv(Matrix3d()) ); + CALL_SUBTEST( trmv(Matrix<std::complex<float>,23, 23>()) ); + CALL_SUBTEST( trmv(MatrixXcd(17,17)) ); + CALL_SUBTEST( trmv(Matrix<float,Dynamic,Dynamic,RowMajor>(19, 19)) ); } } |