diff options
| author | Christoph Berg <myon@debian.org> | 2021-02-03 22:54:50 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-02-03 22:54:50 +0100 |
| commit | 1c4a8c9374cacfc002e47c8e3bb824e82aa8441c (patch) | |
| tree | 13b31e80d276b67cca79f8077efbba2ad3863f34 /lib/fst4/get_fst4_bitmetrics.f90 | |
| parent | 3209ca0e2d4243c861c3d1d6022ba1da4f9f2fc8 (diff) | |
New upstream version 2.4.0~rc1+repackupstream/2.4.0_rc1+repack
Diffstat (limited to 'lib/fst4/get_fst4_bitmetrics.f90')
| -rw-r--r-- | lib/fst4/get_fst4_bitmetrics.f90 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/fst4/get_fst4_bitmetrics.f90 b/lib/fst4/get_fst4_bitmetrics.f90 index 9d3b0ba8..0ae747c5 100644 --- a/lib/fst4/get_fst4_bitmetrics.f90 +++ b/lib/fst4/get_fst4_bitmetrics.f90 @@ -1,4 +1,4 @@ -subroutine get_fst4_bitmetrics(cd,nss,nmax,nhicoh,bitmetrics,s4,nsync_qual,badsync) +subroutine get_fst4_bitmetrics(cd,nss,bitmetrics,s4,nsync_qual,badsync) use timer_module, only: timer include 'fst4_params.f90' @@ -21,9 +21,10 @@ subroutine get_fst4_bitmetrics(cd,nss,nmax,nhicoh,bitmetrics,s4,nsync_qual,badsy data isyncword2/2,3,1,0,3,2,0,1/ data graymap/0,1,3,2/ data first/.true./,nss0/-1/ - save first,one,cp,nss0 + save first,one,nss0 if(nss.ne.nss0 .and. allocated(ci)) deallocate(ci) + if(first .or. nss.ne.nss0) then allocate(ci(nss,0:3)) one=.false. |
