From 7faee5f2129a6d48a2d4197b7f1a125e850137a8 Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 28 Oct 2018 02:03:03 +0200 Subject: [PATCH] Scope: removed useless resizing of complex trace by 4 times the amount actually needed --- sdrgui/dsp/scopevis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrgui/dsp/scopevis.h b/sdrgui/dsp/scopevis.h index 45742b5cd..b00f0dcc3 100644 --- a/sdrgui/dsp/scopevis.h +++ b/sdrgui/dsp/scopevis.h @@ -723,7 +723,7 @@ private: for (std::vector::iterator it = m_traceBackBuffers.begin(); it != m_traceBackBuffers.end(); ++it) { - it->resize(4*m_traceSize); // TODO: why 4? + it->resize(m_traceSize); // was multiplied by 4 } }