Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a13738c6 authored by LISITO Alycia's avatar LISITO Alycia Committed by Mathieu Faverge
Browse files

check: replace max by chameleon_max in all check

parent f960d346
No related branches found
No related tags found
1 merge request!310GESVD: Add a testing /check for the gesvd operation
...@@ -427,7 +427,7 @@ int check_zsolve( run_arg_list_t *args, cham_mtxtype_t matrix_type, cham_trans_t ...@@ -427,7 +427,7 @@ int check_zsolve( run_arg_list_t *args, cham_mtxtype_t matrix_type, cham_trans_t
} }
Rnorm = CHAMELEON_zlange_Tile( ChamOneNorm, descB ); Rnorm = CHAMELEON_zlange_Tile( ChamOneNorm, descB );
result = Rnorm / ( Anorm * Xnorm * chameleon_max( M, N ) * eps ); result = Rnorm / ( Anorm * Xnorm * max( M, N ) * eps );
run_arg_add_double( args, "||A||", Anorm ); run_arg_add_double( args, "||A||", Anorm );
run_arg_add_double( args, "||X||", Xnorm ); run_arg_add_double( args, "||X||", Xnorm );
......
...@@ -36,10 +36,6 @@ ...@@ -36,10 +36,6 @@
#include "testing_zcheck.h" #include "testing_zcheck.h"
#include <chameleon/flops.h> #include <chameleon/flops.h>
#ifndef max
#define max( _a_, _b_ ) ( (_a_) > (_b_) ? (_a_) : (_b_) )
#endif
/** /**
******************************************************************************** ********************************************************************************
* *
......
...@@ -36,10 +36,6 @@ ...@@ -36,10 +36,6 @@
#include "testing_zcheck.h" #include "testing_zcheck.h"
#include <chameleon/flops.h> #include <chameleon/flops.h>
#ifndef max
#define max( _a_, _b_ ) ( (_a_) > (_b_) ? (_a_) : (_b_) )
#endif
/** /**
******************************************************************************** ********************************************************************************
* *
......
...@@ -32,10 +32,6 @@ ...@@ -32,10 +32,6 @@
#include "testing_zcheck.h" #include "testing_zcheck.h"
#include <chameleon/flops.h> #include <chameleon/flops.h>
#ifndef max
#define max( _a_, _b_ ) ( (_a_) > (_b_) ? (_a_) : (_b_) )
#endif
/** /**
******************************************************************************** ********************************************************************************
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment