mirror of
https://github.com/gqrx-sdr/gqrx.git
synced 2024-09-21 18:57:10 +00:00
fix compile error: "lvalue required as left operand of assignment"
This commit is contained in:
parent
580c2f0813
commit
6bcf335b39
@ -307,12 +307,12 @@ int Decimator::CHalfBand11TapDecimateBy2::DecBy2(int InLength,
|
||||
|
||||
for(i = 0; i < (InLength - 11 - 6) / 2; i++)
|
||||
{
|
||||
(*pOut).real() = H0 * pIn[0].real() + H2 * pIn[2].real()
|
||||
(*pOut).real( H0 * pIn[0].real() + H2 * pIn[2].real()
|
||||
+ H4 * pIn[4].real() + H5 * pIn[5].real() + H6 * pIn[6].real()
|
||||
+ H8 * pIn[8].real() + H10 * pIn[10].real();
|
||||
(*pOut++).imag() = H0 * pIn[0].imag() + H2 * pIn[2].imag()
|
||||
+ H8 * pIn[8].real() + H10 * pIn[10].real());
|
||||
(*pOut++).imag( H0 * pIn[0].imag() + H2 * pIn[2].imag()
|
||||
+ H4 * pIn[4].imag() + H5 * pIn[5].imag() + H6 * pIn[6].imag()
|
||||
+ H8 * pIn[8].imag() + H10 * pIn[10].imag();
|
||||
+ H8 * pIn[8].imag() + H10 * pIn[10].imag());
|
||||
pIn += 2;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user