Skip to content

Commit 24821e0

Browse files
jalveszjvdp1
andauthored
Update example/linalg/example_solve_custom.f90
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent b0f70af commit 24821e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/linalg/example_solve_custom.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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,stdlib_size_wksp_pcg) , source = 0.d0 )
51+
if(.not.allocated(workspace_%tmp)) allocate( workspace_%tmp(n,stdlib_size_wksp_pcg) , source = 0._dp )
5252
workspace_%callback => my_logger
5353
!-------------------------
5454
! Jacobi preconditioner factorization

0 commit comments

Comments
 (0)