From d07f6ad9ac9f5cd059a86bd2bca45c7409844ed0 Mon Sep 17 00:00:00 2001 From: Eknous-P Date: Tue, 4 Nov 2025 13:28:09 +0400 Subject: [PATCH] why header --- src/gui/spectrum.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/spectrum.cpp b/src/gui/spectrum.cpp index 4c75058b6..b2410c05e 100644 --- a/src/gui/spectrum.cpp +++ b/src/gui/spectrum.cpp @@ -23,7 +23,6 @@ #include "imgui_internal.h" #include #include -#include #include // fmod inline float scaleFuncLog(float x) { @@ -177,7 +176,8 @@ void FurnaceGUI::drawSpectrum() { } fftw_execute(spectrum.plan[z]); unsigned int count=0; - float mag=0.0f, x=0.0f, y=0.0f; + double mag=0.0f; + float x=0.0f, y=0.0f; count=spectrum.bins/2; for (unsigned int i=0; i