Skip to content

Commit 4cef2ac

Browse files
committed
cleanup names
1 parent 5c817c8 commit 4cef2ac

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/stdlib_linalg_solve.fypp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ module stdlib_linalg_solve
2222
#:for nd,ndsuf,nde in ALL_RHS
2323
#:for rk,rt,ri in RC_KINDS_TYPES
2424
#:if rk!="xdp"
25-
module procedure stdlib_linalg_${ri}$solve${ndsuf}$
26-
module procedure stdlib_linalg_${ri}$_pure_solve${ndsuf}$
25+
module procedure stdlib_linalg_${ri}$_solve_${ndsuf}$
26+
module procedure stdlib_linalg_${ri}$_pure_solve_${ndsuf}$
2727
#:endif
2828
#:endfor
2929
#:endfor
@@ -62,7 +62,7 @@ module stdlib_linalg_solve
6262
#:for rk,rt,ri in RC_KINDS_TYPES
6363
#:if rk!="xdp"
6464
! Compute the solution to a real system of linear equations A * X = B
65-
function stdlib_linalg_${ri}$solve${ndsuf}$(a,b,overwrite_a,err) result(x)
65+
function stdlib_linalg_${ri}$_solve_${ndsuf}$(a,b,overwrite_a,err) result(x)
6666
!> Input matrix a[n,n]
6767
${rt}$, intent(inout), target :: a(:,:)
6868
!> Right hand side vector or array, b[n] or b[n,nrhs]
@@ -127,10 +127,10 @@ module stdlib_linalg_solve
127127
! Process output and return
128128
call linalg_error_handling(err0,err)
129129

130-
end function stdlib_linalg_${ri}$solve${ndsuf}$
130+
end function stdlib_linalg_${ri}$_solve_${ndsuf}$
131131

132132
! Compute the solution to a real system of linear equations A * X = B (pure interface)
133-
pure function stdlib_linalg_${ri}$_pure_solve${ndsuf}$(a,b) result(x)
133+
pure function stdlib_linalg_${ri}$_pure_solve_${ndsuf}$(a,b) result(x)
134134
!> Input matrix a[n,n]
135135
${rt}$, intent(in), target :: a(:,:)
136136
!> Right hand side vector or array, b[n] or b[n,nrhs]
@@ -144,7 +144,6 @@ module stdlib_linalg_solve
144144
integer(ilp), allocatable :: ipiv(:)
145145
${rt}$, pointer :: xmat(:,:)
146146
${rt}$, allocatable :: amat(:,:)
147-
character(*), parameter :: this = 'solve'
148147

149148
!> Problem sizes
150149
lda = size(a,1,kind=ilp)
@@ -181,7 +180,7 @@ module stdlib_linalg_solve
181180
! Process output and return
182181
call linalg_error_handling(err0)
183182

184-
end function stdlib_linalg_${ri}$_pure_solve${ndsuf}$
183+
end function stdlib_linalg_${ri}$_pure_solve_${ndsuf}$
185184
#:endif
186185
#:endfor
187186
#:endfor

0 commit comments

Comments
 (0)