Skip to content

Commit f61224b

Browse files
jalveszjvdp1
andauthored
Update example/linalg/example_solve_pcg.f90
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent 05e536d commit f61224b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/linalg/example_solve_pcg.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ program example_solve_pcg
2727
print *, x !> solution: [0.0, 2.5, 5.0, 2.5, 0.0]
2828
x = 0._dp
2929

30-
call solve_pcg(laplacian_csr, load, x, tol=1.d-6, di=dirichlet)
30+
call solve_pcg(laplacian_csr, rhs, x, tol=1.d-6, di=dirichlet)
3131
print *, x !> solution: [0.0, 2.5, 5.0, 2.5, 0.0]
3232
end program

0 commit comments

Comments
 (0)