Skip to content

Commit b7a4475

Browse files
committed
Further simplification of the interface fyyp-template.
1 parent 61d9101 commit b7a4475

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/stdlib_linalg_lapack.fypp

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3245,26 +3245,20 @@ module stdlib_linalg_lapack
32453245
#:if rk in ["sp", "dp"]
32463246
#:if rt.startswith("real")
32473247
pure subroutine ${ri}$geqp3(m, n, a, lda, jpvt, tau, work, lwork, info)
3248-
import sp, dp, qp, ${ik}$, lk
3249-
implicit none
3250-
integer(${ik}$), intent(in) :: m, n, lda, lwork
3251-
integer(${ik}$), intent(out) :: info
3252-
integer(${ik}$), intent(inout) :: jpvt(*)
3253-
${rt}$, intent(inout) :: a(lda, *)
3254-
${rt}$, intent(out) :: tau(*), work(*)
3255-
end subroutine ${ri}$geqp3
32563248
#:else
32573249
pure subroutine ${ri}$geqp3(m, n, a, lda, jpvt, tau, work, lwork, rwork, info)
3250+
#:endif
32583251
import sp, dp, qp, ${ik}$, lk
32593252
implicit none
32603253
integer(${ik}$), intent(in) :: m, n, lda, lwork
32613254
integer(${ik}$), intent(out) :: info
32623255
integer(${ik}$), intent(inout) :: jpvt(*)
32633256
${rt}$, intent(inout) :: a(lda, *)
32643257
${rt}$, intent(out) :: tau(*), work(*)
3258+
#:if rt.startswith("complex")
32653259
real(${rk}$), intent(out) :: rwork(*)
3260+
#:endif
32663261
end subroutine ${ri}$geqp3
3267-
#:endif
32683262
#:else
32693263
module procedure stdlib${ii}$_${ri}$geqp3
32703264
#:endif

0 commit comments

Comments
 (0)