diff options
Diffstat (limited to 'lib/jt9fano.f90')
| -rw-r--r-- | lib/jt9fano.f90 | 9 |
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
|
