Skip to content

Commit 0efcf5c

Browse files
committed
Fix imports and handle_potrf_info signature.
1 parent cbaac2f commit 0efcf5c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/lapack/stdlib_linalg_lapack_aux.fypp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
module stdlib_linalg_lapack_aux
44
use stdlib_linalg_constants
55
use stdlib_linalg_blas
6+
use stdlib_linalg_state, only: linalg_state_type, linalg_error_handling, LINALG_ERROR, &
7+
LINALG_INTERNAL_ERROR, LINALG_VALUE_ERROR
68
use ieee_arithmetic, only: ieee_support_inf, ieee_support_nan
79
implicit none
810
private
@@ -38,6 +40,7 @@ module stdlib_linalg_lapack_aux
3840
public :: stdlib_select_${ri}$
3941
public :: stdlib_selctg_${ri}$
4042
#:endfor
43+
public :: handle_potrf_info
4144

4245
! SELCTG is a LOGICAL FUNCTION of three DOUBLE PRECISION arguments
4346
! used to select eigenvalues to sort to the top left of the Schur form.
@@ -1280,8 +1283,10 @@ module stdlib_linalg_lapack_aux
12801283
!----- AUXILIARY INFO HANDLING FUNCTIONS FOR LAPACK SUBROUTINES -----
12811284
!----- -----
12821285
!----------------------------------------------------------------------------
1283-
1284-
elemental subroutine handle_potrf_info(info,triangle,lda,n,err)
1286+
1287+
! Cholesky factorization
1288+
elemental subroutine handle_potrf_info(this,info,triangle,lda,n,err)
1289+
character(len=*), intent(in) :: this
12851290
character, intent(in) :: triangle
12861291
integer(ilp), intent(in) :: info,lda,n
12871292
type(linalg_state_type), intent(out) :: err

src/stdlib_linalg_cholesky.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ submodule (stdlib_linalg) stdlib_linalg_cholesky
6060

6161
! Compute factorization
6262
call potrf(triangle,n,a,lda,info)
63-
call handle_potrf_info(info,triangle,lda,n,err0)
63+
call handle_potrf_info(this, info,triangle,lda,n,err0)
6464

6565
! Zero-out the unused part of matrix A
6666
clean_unused: if (other_zeroed_ .and. err0%ok()) then

0 commit comments

Comments
 (0)