Skip to content

Commit afe20df

Browse files
jalveszjvdp1
andauthored
Update example/linalg/example_solve_cg.f90
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent aaaf94e commit afe20df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/linalg/example_solve_cg.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ program example_solve_cg
99
1, 3] , [2,2])
1010

1111
x = dble( [2,1] ) !> initial guess
12-
load = dble( [1,2] ) !> load vector
12+
rhs = dble( [1,2] ) !> rhs vector
1313

1414
call solve_cg(matrix, load, x, restart=.false.)
1515
print *, x !> solution: [0.0909, 0.6364]

0 commit comments

Comments
 (0)