From 40f084bfb593cc6a775c29db0e1be33f945af0c8 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Thu, 31 Jul 2025 07:14:23 +0200 Subject: [PATCH] the guard interval transition is at the middle now --- schmidl_cox.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schmidl_cox.hh b/schmidl_cox.hh index 429a6df..78816fd 100644 --- a/schmidl_cox.hh +++ b/schmidl_cox.hh @@ -117,7 +117,7 @@ public: return false; int pos_err = std::nearbyint(arg(tmp1[shift]) * symbol_len / Const::TwoPi()); - if (abs(pos_err) > guard_len / 2) + if (abs(pos_err) > guard_len) return false; symbol_pos -= pos_err;