From e292f472fb4b3cbd9e7ee2780eb651a4bc23c366 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Wed, 31 Aug 2022 18:01:55 +0200 Subject: [PATCH] Fix coverity issue 1516253 Arguments in wrong order --- testing/testing_ztrmm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/testing_ztrmm.c b/testing/testing_ztrmm.c index b9b0a5d48..d6d76d79f 100644 --- a/testing/testing_ztrmm.c +++ b/testing/testing_ztrmm.c @@ -89,7 +89,7 @@ testing_ztrmm_desc( run_arg_list_t *args, int check ) hres = CHAMELEON_ztrmm_Tile( side, uplo, trans, diag, alpha, descA, descB ); } test_data.hres = hres; - testing_stop( &test_data, flops_ztrmm( side, N, M ) ); + testing_stop( &test_data, flops_ztrmm( side, M, N ) ); /* Checks the solution */ if ( check ) { @@ -155,7 +155,7 @@ testing_ztrmm_std( run_arg_list_t *args, int check ) testing_start( &test_data ); cblas_ztrmm( CblasColMajor, (CBLAS_SIDE)side, (CBLAS_UPLO)uplo, (CBLAS_TRANSPOSE)trans, (CBLAS_DIAG)diag, M, N, CBLAS_SADDR(alpha), A, LDA, B, LDB ); - testing_stop( &test_data, flops_ztrmm( side, N, M ) ); + testing_stop( &test_data, flops_ztrmm( side, M, N ) ); #else testing_start( &test_data ); switch ( api ) { @@ -175,7 +175,7 @@ testing_ztrmm_std( run_arg_list_t *args, int check ) return -1; } test_data.hres = hres; - testing_stop( &test_data, flops_ztrmm( side, N, M ) ); + testing_stop( &test_data, flops_ztrmm( side, M, N ) ); /* Checks the solution */ if ( check ) { -- GitLab