From 0914606c8a8b1525ef5dde9bf76c00f558cf12e8 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Wed, 31 Aug 2022 19:00:23 +0200 Subject: [PATCH] Fix coverity issue 1516418 Arguments in wrong order --- testing/testing_zherk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/testing_zherk.c b/testing/testing_zherk.c index d17ccc426..3bc314c96 100644 --- a/testing/testing_zherk.c +++ b/testing/testing_zherk.c @@ -170,7 +170,7 @@ testing_zherk_std( run_arg_list_t *args, int check ) testing_start( &test_data ); cblas_zherk( CblasColMajor, (CBLAS_UPLO)uplo, (CBLAS_TRANSPOSE)trans, N, K, alpha, A, LDA, beta, C, LDC ); - testing_stop( &test_data, flops_zherk( N, K ) ); + testing_stop( &test_data, flops_zherk( K, N ) ); #else testing_start( &test_data ); switch ( api ) { @@ -189,7 +189,7 @@ testing_zherk_std( run_arg_list_t *args, int check ) return -1; } test_data.hres = hres; - testing_stop( &test_data, flops_zherk( N, K ) ); + testing_stop( &test_data, flops_zherk( K, N ) ); /* Checks the solution */ if ( check ) { -- GitLab