Browse Source

Merge pull request #2410 from srcejon/fix_2324

wdsp: Remove redundant code that causes stack overflow on Mac.
chirpmodem-v8.0.0
Edouard Griffiths 2 years ago committed by GitHub
parent
commit
b3f83c33fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      wdsp/emnr.cpp

3
wdsp/emnr.cpp

@ -444,6 +444,7 @@ EMNR::G::G( @@ -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( @@ -462,7 +463,7 @@ EMNR::G::G(
std::copy(ggs.begin(), ggs.end(), GGS.begin());
}
fclose(fileb);
}
}*/
}
void EMNR::G::calc_gamma0()

Loading…
Cancel
Save