summaryrefslogtreecommitdiff
path: root/lib/ldpcsim128_90.f90
diff options
context:
space:
mode:
authorChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:19:23 +0100
committerChristoph Berg <christoph.berg@credativ.de>2019-03-11 14:19:23 +0100
commit200de07a95209a55d6019ba87f0abc78d302bf4c (patch)
tree3b2922eb5d89b01ad214cae492e871c3bfb5df18 /lib/ldpcsim128_90.f90
parente0737c56c1e384e05064a0c6e1ac46979371041b (diff)
New upstream version 2.0.1+repackupstream/2.0.1+repack
Diffstat (limited to 'lib/ldpcsim128_90.f90')
-rw-r--r--lib/ldpcsim128_90.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldpcsim128_90.f90 b/lib/ldpcsim128_90.f90
index 05b424b7..2b6baf40 100644
--- a/lib/ldpcsim128_90.f90
+++ b/lib/ldpcsim128_90.f90
@@ -48,7 +48,7 @@ program ldpcsim128_90
i3=0
n3=1
call pack77(msg,i3,n3,c77)
- call unpack77(c77,msgsent,unpk77_success)
+ call unpack77(c77,0,msgsent,unpk77_success)
read(c77,'(77i1)') msgbits
write(*,*) "message sent ",msgsent
@@ -108,7 +108,7 @@ program ldpcsim128_90
! If the decoder finds a valid codeword, nharderrors will be .ge. 0.
if( nharderrors .ge. 0 ) then
write(c77,'(77i1)') message77
- call unpack77(c77,msgreceived,unpk77_success)
+ call unpack77(c77,1,msgreceived,unpk77_success)
nhw=count(cw.ne.codeword)
if(nhw.eq.0) then ! this is a good decode
ngood=ngood+1