1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-06-02 15:02:26 -04:00

wdsp: Remove redundant code that causes stack overflow on Mac. For #2324.

This commit is contained in:
Jon Beniston 2025-02-27 13:20:44 +00:00
parent ba673bf3a2
commit c40da37faf

View File

@ -444,6 +444,7 @@ EMNR::G::G(
std::copy(Calculus::GG.begin(), Calculus::GG.end(), GG.begin()); std::copy(Calculus::GG.begin(), Calculus::GG.end(), GG.begin());
std::copy(Calculus::GGS.begin(), Calculus::GGS.end(), GGS.begin()); std::copy(Calculus::GGS.begin(), Calculus::GGS.end(), GGS.begin());
/* Removed as redundant and causes a stack overflow on Mac - see #2324
// We keep this pretty useless part just in case... // We keep this pretty useless part just in case...
if ((fileb = fopen("calculus", "rb"))) if ((fileb = fopen("calculus", "rb")))
{ {
@ -462,7 +463,7 @@ EMNR::G::G(
std::copy(ggs.begin(), ggs.end(), GGS.begin()); std::copy(ggs.begin(), ggs.end(), GGS.begin());
} }
fclose(fileb); fclose(fileb);
} }*/
} }
void EMNR::G::calc_gamma0() void EMNR::G::calc_gamma0()