From 2fb5d22e6f7a83e4fc3304002c0b04ee4eda1e8f Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 20 Oct 2021 11:18:31 -0400 Subject: [PATCH] Fix the logic for setting ibwa, ibwb, and maxiters in Q65 "Deep" decoding attempts. --- lib/q65_decode.f90 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/q65_decode.f90 b/lib/q65_decode.f90 index d3bb5dbd5..6e2b5e9d9 100644 --- a/lib/q65_decode.f90 +++ b/lib/q65_decode.f90 @@ -134,7 +134,8 @@ contains ibwa=max(1,int(1.8*log(baud*mode_q65)) + 1) ibwb=min(10,ibwa+5) maxiters=67 - else if(iand(ndepth,3).eq.3) then + endif + if(iand(ndepth,3).eq.3) then ibwa=max(1,ibwa-1) ibwb=min(10,ibwb+1) maxiters=100