Skip to content

Commit f4df9aa

Browse files
author
guozhong.zhuang
committed
clean up
1 parent c2b934d commit f4df9aa

3 files changed

Lines changed: 6 additions & 58 deletions

File tree

LAPACKE/include/lapacke.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19073,8 +19073,8 @@ void LAPACK_zhegv_2stage( lapack_int* itype, char* jobz, char* uplo, lapack_int*
1907319073
double* rwork, lapack_int *info );
1907419074

1907519075
/* APIs for set/get nancheck flags */
19076-
void LAPACKE_set_nancheck( lapack_int flag );
19077-
lapack_int LAPACKE_get_nancheck( );
19076+
void LAPACKE_set_nancheck( int flag );
19077+
int LAPACKE_get_nancheck( );
1907819078

1907919079

1908019080
#ifdef __cplusplus

LAPACKE/src/lapacke_nancheck.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,16 @@
3434

3535
#include "lapacke_utils.h"
3636

37-
static lapack_int nancheck_flag = -1;
37+
static int nancheck_flag = -1;
3838

3939

40-
/* App can set this flag with API call */
41-
/* This flag is based on environment variable LAPACK_NANCHECK */
42-
43-
void LAPACKE_set_nancheck( lapack_int flag )
40+
void LAPACKE_set_nancheck( int flag )
4441
{
4542
nancheck_flag = ( flag ) ? 1 : 0;
4643
}
4744

48-
lapack_int LAPACKE_get_nancheck( )
45+
46+
int LAPACKE_get_nancheck( )
4947
{
5048
if ( nancheck_flag != -1 )
5149
return nancheck_flag;

LAPACKE/src/lapacke_utils.c

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)