From 9d0eb44418d3e5e78b8bd59f4733e7d3f15495f0 Mon Sep 17 00:00:00 2001 From: 30hours Date: Fri, 3 May 2024 14:53:59 +0000 Subject: [PATCH] Enable hamming rounding on ambiguity for big speedup --- src/blah2.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/blah2.cpp b/src/blah2.cpp index 6b25d2a..fd2245f 100644 --- a/src/blah2.cpp +++ b/src/blah2.cpp @@ -137,12 +137,13 @@ int main(int argc, char **argv) // setup process ambiguity int32_t delayMin, delayMax; int32_t dopplerMin, dopplerMax; + bool roundHamming = true; tree["process"]["ambiguity"]["delayMin"] >> delayMin; tree["process"]["ambiguity"]["delayMax"] >> delayMax; tree["process"]["ambiguity"]["dopplerMin"] >> dopplerMin; tree["process"]["ambiguity"]["dopplerMax"] >> dopplerMax; - Ambiguity *ambiguity = new Ambiguity( - delayMin, delayMax, dopplerMin, dopplerMax, fs, nSamples); + Ambiguity *ambiguity = new Ambiguity(delayMin, delayMax, + dopplerMin, dopplerMax, fs, nSamples, roundHamming); // setup process clutter int32_t delayMinClutter, delayMaxClutter;