Skip to content

Commit 05e536d

Browse files
jalveszjvdp1
andauthored
Update example/linalg/example_solve_pcg.f90
Co-authored-by: Jeremie Vandenplas <jeremie.vandenplas@gmail.com>
1 parent 7706e1b commit 05e536d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/linalg/example_solve_pcg.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ program example_solve_pcg
2020
x = 0._dp
2121
rhs = real( [0,0,5,0,0], kind=1._dp )
2222

23-
dirichlet = .false._1
24-
dirichlet([1,5]) = .true._1
23+
dirichlet = .false._int8
24+
dirichlet([1,5]) = .true._int8
2525

2626
call solve_pcg(laplacian, rhs, x, tol=1.d-6, di=dirichlet)
2727
print *, x !> solution: [0.0, 2.5, 5.0, 2.5, 0.0]

0 commit comments

Comments
 (0)