Skip to content

Commit a1e9092

Browse files
authored
Update m_lapack_example.f90
1 parent 36259b8 commit a1e9092

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/post_process/m_lapack_example.f90

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ impure subroutine s_lapack_example_solve_linear_system()
4747

4848
b = [8.0_wp, 10.0_wp, 16.0_wp]
4949

50-
print *, "=== LAPACK Linear System Solver Example ==="
50+
print *, "LAPACK Linear System Solver Example"
5151
print *, "Solving the system Ax = b where:"
5252
print *, "A = [2 1 1; 1 3 1; 1 1 4]"
5353
print *, "b = [8; 10; 16]"
54-
print *, ""
5554

5655
! Copy b to x (LAPACK will overwrite the right-hand side with solution)
5756
x = b
@@ -76,8 +75,7 @@ impure subroutine s_lapack_example_solve_linear_system()
7675
print *, "LAPACK error: matrix is singular, solution could not be computed"
7776
end if
7877

79-
print *, "=== End LAPACK Example ==="
80-
print *, ""
78+
print *, "End LAPACK Example"
8179

8280
end subroutine s_lapack_example_solve_linear_system
8381

@@ -103,10 +101,9 @@ impure subroutine s_lapack_example_eigenvalues()
103101
A(2, :) = [1.0_wp, 4.0_wp, 1.0_wp]
104102
A(3, :) = [1.0_wp, 1.0_wp, 4.0_wp]
105103

106-
print *, "=== LAPACK Eigenvalue Example ==="
104+
print *, "LAPACK Eigenvalue Example"
107105
print *, "Computing eigenvalues of symmetric matrix:"
108106
print *, "A = [4 1 1; 1 4 1; 1 1 4]"
109-
print *, ""
110107

111108
! Call appropriate LAPACK routine based on precision
112109
#ifdef MFC_SINGLE_PRECISION
@@ -128,8 +125,7 @@ impure subroutine s_lapack_example_eigenvalues()
128125
print *, "LAPACK error: algorithm failed to converge"
129126
end if
130127

131-
print *, "=== End LAPACK Eigenvalue Example ==="
132-
print *, ""
128+
print *, "End LAPACK Eigenvalue Example"
133129

134130
end subroutine s_lapack_example_eigenvalues
135131

0 commit comments

Comments
 (0)