1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-03-08 20:38:39 -05:00

Merge pull request #2410 from srcejon/fix_2324

wdsp: Remove redundant code that causes stack overflow on Mac.
This commit is contained in:
Edouard Griffiths 2025-03-05 07:21:32 +01:00 committed by GitHub
commit b3f83c33fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -444,6 +444,7 @@ EMNR::G::G(
std::copy(Calculus::GG.begin(), Calculus::GG.end(), GG.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...
if ((fileb = fopen("calculus", "rb")))
{
@ -462,7 +463,7 @@ EMNR::G::G(
std::copy(ggs.begin(), ggs.end(), GGS.begin());
}
fclose(fileb);
}
}*/
}
void EMNR::G::calc_gamma0()