Skip to content

Commit 59cc51a

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

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
@@ -31,7 +31,7 @@ subroutine solve_pcg_custom(A,b,x,di,tol,maxiter,restart,workspace)
3131
maxiter_ = n; if(present(maxiter)) maxiter_ = maxiter
3232
restart_ = .true.; if(present(restart)) restart_ = restart
3333
tol_ = 1.e-4_dp; if(present(tol)) tol_ = tol
34-
norm_sq0 = 0.d0
34+
norm_sq0 = 0._dp
3535
!-------------------------
3636
! internal memory setup
3737
op%matvec => my_matvec

0 commit comments

Comments
 (0)