summaryrefslogtreecommitdiff
path: root/lib/jt9fano.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/jt9fano.f90
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/jt9fano.f90')
-rw-r--r--lib/jt9fano.f909
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/jt9fano.f90 b/lib/jt9fano.f90
index 0cd6b7a9..275e0e07 100644
--- a/lib/jt9fano.f90
+++ b/lib/jt9fano.f90
@@ -4,6 +4,7 @@ subroutine jt9fano(i1SoftSymbols,limit,nlim,msg)
! Input: i1SoftSymbols(207) - Single-bit soft symbols
! Output: msg - decoded message (blank if erasure)
+ use packjt
character*22 msg
integer*4 i4DecodedBytes(9)
integer*4 i4Decoded6BitWords(12)
@@ -11,7 +12,7 @@ subroutine jt9fano(i1SoftSymbols,limit,nlim,msg)
integer*1 i1SoftSymbols(207)
integer*1 i1DecodedBits(72)
- real*4 xx0(0:255)
+ real*4 xx0(0:262)
logical first
integer*4 mettab(-128:127,0:1)
@@ -48,7 +49,9 @@ subroutine jt9fano(i1SoftSymbols,limit,nlim,msg)
-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966, &
-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966, &
-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966, &
- -9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966/
+ -9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966,-9.966, &
+ 1.43370769e-019,2.64031087e-006,6.25548654e+028, &
+ 2.44565251e+020,4.74227538e+030,10497312.,7.74079654e-039/
save
if(first) then
@@ -81,7 +84,7 @@ subroutine jt9fano(i1SoftSymbols,limit,nlim,msg)
enddo
call unpackbits(i4DecodedBytes,nbytes,8,i1DecodedBits)
call packbits(i1DecodedBits,12,6,i4Decoded6BitWords)
- call unpackmsg(i4Decoded6BitWords,msg) !Unpack decoded msg
+ call unpackmsg(i4Decoded6BitWords,msg,.false.,' ') !Unpack decoded msg
if(index(msg,'000AAA ').gt.0) msg=' '
endif