Skip to content

Commit 731a0d6

Browse files
jalveszjvdp1
andauthored
Update example/linalg/example_solve_custom.f90
Co-authored-by: Jeremie Vandenplas <jeremie.vandenplas@gmail.com>
1 parent a246074 commit 731a0d6

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
@@ -132,8 +132,8 @@ program example_solve_custom
132132
x = 0._dp
133133
rhs = dble( [0,0,5,0,0] )
134134

135-
dirichlet = .false._1
136-
dirichlet([1,5]) = .true._1
135+
dirichlet = .false._int8
136+
dirichlet([1,5]) = .true._int8
137137

138138
call stdlib_solve_pcg_custom(laplacian_csr, rhs, x, tol=1.d-6, di=dirichlet)
139139
print *, x !> solution: [0.0, 2.5, 5.0, 2.5, 0.0]

0 commit comments

Comments
 (0)