mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-22 03:23:29 +01:00
Fix gfortrab compilation
This commit is contained in:
parent
32e2afca90
commit
c4a91c78c9
@ -420,13 +420,16 @@ END_TEMPLATE
|
|||||||
! Sort array x(isize).
|
! Sort array x(isize).
|
||||||
END_DOC
|
END_DOC
|
||||||
integer,intent(in) :: isize
|
integer,intent(in) :: isize
|
||||||
$type,intent(inout) :: x(isize)
|
integer,intent(inout) :: x(isize)
|
||||||
integer, allocatable :: iorder
|
integer, allocatable :: iorder(:)
|
||||||
allocate(iorder)
|
integer :: i
|
||||||
iorder=0
|
allocate(iorder(isize))
|
||||||
call $Xradix_sort(x,iorder,isize,-1)
|
do i=1,isize
|
||||||
|
iorder(i)=i
|
||||||
|
enddo
|
||||||
|
call iradix_sort(x,iorder,isize,-1)
|
||||||
deallocate(iorder)
|
deallocate(iorder)
|
||||||
end subroutine $Xsort
|
end subroutine isort_noidx
|
||||||
IRP_ENDIF
|
IRP_ENDIF
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user