Skip to content

Commit 285aed2

Browse files
committed
remove xdp
1 parent 7475680 commit 285aed2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/stdlib_linalg.fypp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ module stdlib_linalg
225225
interface lstsq
226226
#:for nd,ndsuf,nde in ALL_RHS
227227
#:for rk,rt,ri in RC_KINDS_TYPES
228+
#:if rk!="xdp"
228229
module function stdlib_linalg_${ri}$_lstsq_${ndsuf}$(a,b,cond,overwrite_a,rank,err) result(x)
229230
!> Input matrix a[n,n]
230231
${rt}$, intent(inout), target :: a(:,:)
@@ -241,6 +242,7 @@ module stdlib_linalg
241242
!> Result array/matrix x[n] or x[n,nrhs]
242243
${rt}$, allocatable, target :: x${nd}$
243244
end function stdlib_linalg_${ri}$_lstsq_${ndsuf}$
245+
#:endif
244246
#:endfor
245247
#:endfor
246248
end interface lstsq

src/stdlib_linalg_least_squares.fypp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ submodule (stdlib_linalg) stdlib_linalg_least_squares
1717
contains
1818

1919
#:for rk,rt,ri in RC_KINDS_TYPES
20+
#:if rk!="xdp"
2021
! Workspace needed by gesv
2122
elemental subroutine ${ri}$gesv_space(m,n,nrhs,lrwork,liwork,lcwork)
2223
integer(ilp), intent(in) :: m,n,nrhs
@@ -53,10 +54,12 @@ submodule (stdlib_linalg) stdlib_linalg_least_squares
5354

5455
end subroutine ${ri}$gesv_space
5556

57+
#:endif
5658
#:endfor
5759

5860
#:for nd,ndsuf,nde in ALL_RHS
5961
#:for rk,rt,ri in RC_KINDS_TYPES
62+
#:if rk!="xdp"
6063

6164
! Compute the least-squares solution to a real system of linear equations Ax = B
6265
module function stdlib_linalg_${ri}$_lstsq_${ndsuf}$(a,b,cond,overwrite_a,rank,err) result(x)
@@ -171,6 +174,7 @@ submodule (stdlib_linalg) stdlib_linalg_least_squares
171174

172175
end function stdlib_linalg_${ri}$_lstsq_${ndsuf}$
173176

177+
#:endif
174178
#:endfor
175179
#:endfor
176180

0 commit comments

Comments
 (0)