summaryrefslogtreecommitdiff
path: root/lapacke/src/lapacke_chetrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapacke/src/lapacke_chetrf.c')
-rw-r--r--lapacke/src/lapacke_chetrf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lapacke/src/lapacke_chetrf.c b/lapacke/src/lapacke_chetrf.c
index 4f0a6f5d..763b0a26 100644
--- a/lapacke/src/lapacke_chetrf.c
+++ b/lapacke/src/lapacke_chetrf.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_chetrf( int matrix_order, char uplo, lapack_int n,
+lapack_int LAPACKE_chetrf( int matrix_layout, char uplo, lapack_int n,
lapack_complex_float* a, lapack_int lda,
lapack_int* ipiv )
{
@@ -41,18 +41,18 @@ lapack_int LAPACKE_chetrf( int matrix_order, char uplo, lapack_int n,
lapack_int lwork = -1;
lapack_complex_float* work = NULL;
lapack_complex_float 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_chetrf", -1 );
return -1;
}
#ifndef LAPACK_DISABLE_NAN_CHECK
/* Optionally check input matrices for NaNs */
- if( LAPACKE_che_nancheck( matrix_order, uplo, n, a, lda ) ) {
+ if( LAPACKE_che_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
#endif
/* Query optimal working array(s) size */
- info = LAPACKE_chetrf_work( matrix_order, uplo, n, a, lda, ipiv,
+ info = LAPACKE_chetrf_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_chetrf( int matrix_order, char uplo, lapack_int n,
goto exit_level_0;
}
/* Call middle-level interface */
- info = LAPACKE_chetrf_work( matrix_order, uplo, n, a, lda, ipiv, work,
+ info = LAPACKE_chetrf_work( matrix_layout, uplo, n, a, lda, ipiv, work,
lwork );
/* Release memory and exit */
LAPACKE_free( work );