diff options
Diffstat (limited to 'lapacke/src/lapacke_zhetrf.c')
-rw-r--r-- | lapacke/src/lapacke_zhetrf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lapacke/src/lapacke_zhetrf.c b/lapacke/src/lapacke_zhetrf.c index 10ba671e..03d0a6f4 100644 --- a/lapacke/src/lapacke_zhetrf.c +++ b/lapacke/src/lapacke_zhetrf.c @@ -1,5 +1,5 @@ /***************************************************************************** - Copyright (c) 2011, Intel Corp. + Copyright (c) 2014, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -33,7 +33,7 @@ #include "lapacke_utils.h" -lapack_int LAPACKE_zhetrf( int matrix_order, char uplo, lapack_int n, +lapack_int LAPACKE_zhetrf( int matrix_layout, char uplo, lapack_int n, lapack_complex_double* a, lapack_int lda, lapack_int* ipiv ) { @@ -41,18 +41,18 @@ lapack_int LAPACKE_zhetrf( int matrix_order, char uplo, lapack_int n, lapack_int lwork = -1; lapack_complex_double* work = NULL; lapack_complex_double work_query; - if( matrix_order != LAPACK_COL_MAJOR && matrix_order != LAPACK_ROW_MAJOR ) { + if( matrix_layout != LAPACK_COL_MAJOR && matrix_layout != LAPACK_ROW_MAJOR ) { LAPACKE_xerbla( "LAPACKE_zhetrf", -1 ); return -1; } #ifndef LAPACK_DISABLE_NAN_CHECK /* Optionally check input matrices for NaNs */ - if( LAPACKE_zhe_nancheck( matrix_order, uplo, n, a, lda ) ) { + if( LAPACKE_zhe_nancheck( matrix_layout, uplo, n, a, lda ) ) { return -4; } #endif /* Query optimal working array(s) size */ - info = LAPACKE_zhetrf_work( matrix_order, uplo, n, a, lda, ipiv, + info = LAPACKE_zhetrf_work( matrix_layout, uplo, n, a, lda, ipiv, &work_query, lwork ); if( info != 0 ) { goto exit_level_0; @@ -66,7 +66,7 @@ lapack_int LAPACKE_zhetrf( int matrix_order, char uplo, lapack_int n, goto exit_level_0; } /* Call middle-level interface */ - info = LAPACKE_zhetrf_work( matrix_order, uplo, n, a, lda, ipiv, work, + info = LAPACKE_zhetrf_work( matrix_layout, uplo, n, a, lda, ipiv, work, lwork ); /* Release memory and exit */ LAPACKE_free( work ); |