summaryrefslogtreecommitdiff
path: root/lapacke/src/lapacke_cpstrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapacke/src/lapacke_cpstrf.c')
-rw-r--r--lapacke/src/lapacke_cpstrf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lapacke/src/lapacke_cpstrf.c b/lapacke/src/lapacke_cpstrf.c
index 398a514e..3a4f5fc8 100644
--- a/lapacke/src/lapacke_cpstrf.c
+++ b/lapacke/src/lapacke_cpstrf.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,19 +33,19 @@
#include "lapacke_utils.h"
-lapack_int LAPACKE_cpstrf( int matrix_order, char uplo, lapack_int n,
+lapack_int LAPACKE_cpstrf( int matrix_layout, char uplo, lapack_int n,
lapack_complex_float* a, lapack_int lda,
lapack_int* piv, lapack_int* rank, float tol )
{
lapack_int info = 0;
float* work = NULL;
- 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_cpstrf", -1 );
return -1;
}
#ifndef LAPACK_DISABLE_NAN_CHECK
/* Optionally check input matrices for NaNs */
- if( LAPACKE_cpo_nancheck( matrix_order, uplo, n, a, lda ) ) {
+ if( LAPACKE_cpo_nancheck( matrix_layout, uplo, n, a, lda ) ) {
return -4;
}
if( LAPACKE_s_nancheck( 1, &tol, 1 ) ) {
@@ -59,7 +59,7 @@ lapack_int LAPACKE_cpstrf( int matrix_order, char uplo, lapack_int n,
goto exit_level_0;
}
/* Call middle-level interface */
- info = LAPACKE_cpstrf_work( matrix_order, uplo, n, a, lda, piv, rank, tol,
+ info = LAPACKE_cpstrf_work( matrix_layout, uplo, n, a, lda, piv, rank, tol,
work );
/* Release memory and exit */
LAPACKE_free( work );