Fix Windows build error from non-const array size

This commit is contained in:
Ryan Volz
2023-07-20 17:03:15 -04:00
committed by Bastian Bloessl
parent 83c02a1b66
commit 1b88193094
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -162,8 +162,8 @@ public:
{
int n_cbps = d_ofdm.n_cbps;
int first[n_cbps];
int second[n_cbps];
int first[MAX_BITS_PER_SYM];
int second[MAX_BITS_PER_SYM];
int s = std::max(d_ofdm.n_bpsc / 2, 1);
for (int j = 0; j < n_cbps; j++) {