From 165ca9f4bfd723a26db42a335635b18f7bce6f48 Mon Sep 17 00:00:00 2001 From: KUHN Matthieu <matthieu.kuhn@inria.fr> Date: Thu, 5 Apr 2018 15:01:27 +0200 Subject: [PATCH] Added tests for other matrix storage formats --- tests/spm_dof_matvec_tests.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/spm_dof_matvec_tests.c b/tests/spm_dof_matvec_tests.c index 598804a9..8f52e246 100644 --- a/tests/spm_dof_matvec_tests.c +++ b/tests/spm_dof_matvec_tests.c @@ -94,12 +94,13 @@ int main (int argc, char **argv) { spmBase( &original, baseval ); - printf(" Matrix type : %s\n", mtxnames[mtxtype - SpmGeneral] ); - printf(" -- Test Matrix * Vector : "); + printf(" Matrix type : %s\n", mtxnames[mtxtype - SpmGeneral] ); /* For now only CSC is working */ - for( fmttype=0; fmttype<1; fmttype++ ) + for( fmttype=SpmCSC; fmttype<=SpmIJV; fmttype++ ) { + printf(" Matrix format : %s\n", fmtnames[fmttype - SpmCSC] ); + printf(" -- Test Matrix * Vector : "); spmConvert( fmttype, &original ); spm = spmDofExtend( &original, i, dofmax ); -- GitLab