Skip to content

Commit 1bc601c

Browse files
committed
rename constant
1 parent e68ce8e commit 1bc601c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/linalg/example_solve_custom.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module custom_solver
44
use stdlib_linalg_iterative_solvers, only: linop_dp_type, &
55
solver_workspace_dp_type, &
66
solve_pcg_kernel, &
7-
size_wksp_pcg
7+
stdlib_size_wksp_pcg
88
implicit none
99
contains
1010
subroutine solve_pcg_custom(A,b,x,di,tol,maxiter,restart,workspace)
@@ -48,7 +48,7 @@ subroutine solve_pcg_custom(A,b,x,di,tol,maxiter,restart,workspace)
4848
else
4949
allocate( workspace_ )
5050
end if
51-
if(.not.allocated(workspace_%tmp)) allocate( workspace_%tmp(n,size_wksp_pcg) , source = 0.d0 )
51+
if(.not.allocated(workspace_%tmp)) allocate( workspace_%tmp(n,stdlib_size_wksp_pcg) , source = 0.d0 )
5252
workspace_%callback => my_logger
5353
!-------------------------
5454
! Jacobi preconditioner factorization

0 commit comments

Comments
 (0)