Commit 5fd95eea authored by Michael Kohnen's avatar Michael Kohnen

Corrected double initialization error

parent aaaab12e
......@@ -260,7 +260,7 @@ bool ITANCTC::CalculateFilter( std::vector< ITAHDFTSpectra* >& vpCTCFilter )
(*pHRTF)[1]->mul(m_fWaveIncidenceAngleCompensationFactor);
(*pHRTF)[1]->exp();
float fEnergyCompensation = powf(HRTFEnergy[1], (1 - m_fWaveIncidenceAngleCompensationFactor));
fEnergyCompensation = powf(HRTFEnergy[1], (1 - m_fWaveIncidenceAngleCompensationFactor));
(*pHRTF)[1]->mul(fEnergyCompensation);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment