summaryrefslogtreecommitdiff
path: root/lib/pctile.f90
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
committerChristoph Berg <christoph.berg@credativ.de>2022-08-23 10:23:16 +0200
commit2d1068e60bce7ae1fff11623454900e8cee956b1 (patch)
treeacebe276e30466ef0ab91bc3da5e379bec0d7dc5 /lib/pctile.f90
parent43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff)
New upstream version 2.6.0~rc3+repackupstream/2.6.0_rc3+repack
Diffstat (limited to 'lib/pctile.f90')
-rwxr-xr-xlib/pctile.f9032
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/pctile.f90 b/lib/pctile.f90
index 0c16aaba..f7dba238 100755
--- a/lib/pctile.f90
+++ b/lib/pctile.f90
@@ -1,16 +1,16 @@
-subroutine pctile(x,npts,npct,xpct)
-
- real x(npts)
- real,allocatable :: tmp(:)
-
- allocate(tmp(npts))
-
- tmp=x
- call shell(npts,tmp)
- j=nint(npts*0.01*npct)
- if(j.lt.1) j=1
- if(j.gt.npts) j=npts
- xpct=tmp(j)
-
- return
-end subroutine pctile
+subroutine pctile(x,npts,npct,xpct)
+
+ real x(npts)
+ real,allocatable :: tmp(:)
+
+ allocate(tmp(npts))
+
+ tmp=x
+ call shell(npts,tmp)
+ j=nint(npts*0.01*npct)
+ if(j.lt.1) j=1
+ if(j.gt.npts) j=npts
+ xpct=tmp(j)
+
+ return
+end subroutine pctile