Skip to content

Commit 8ff4866

Browse files
committed
Merge branch 'iterative' of https://github.com/jalvesz/stdlib into iterative
2 parents f65ad71 + 945319b commit 8ff4866

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/linalg/example_solve_custom.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ program example_solve_custom
134134
x = 0._dp
135135
rhs = dble( [0,0,5,0,0] )
136136

137-
dirichlet = .false._1
138-
dirichlet([1,5]) = .true._1
137+
dirichlet = .false._int8
138+
dirichlet([1,5]) = .true._int8
139139

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

src/stdlib_linalg_iterative_solvers_pcg.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ contains
149149
if(present(di))then
150150
di_ => di
151151
else
152-
allocate(di_(n),source=.false._1)
152+
allocate(di_(n),source=.false._int8)
153153
end if
154154

155155
! workspace for the solver

0 commit comments

Comments
 (0)