mirror of
https://github.com/danog/libtgvoip.git
synced 2024-11-27 04:34:42 +01:00
fixed build on android
This commit is contained in:
parent
5caaaafa42
commit
9dd089d2bb
@ -66,7 +66,7 @@ void ComputeInitialInverseFilterCoefficients(
|
||||
// Avoid division by numbers close to zero.
|
||||
constexpr float kMinErrorMagnitude = 1e-6f;
|
||||
if (std::fabs(error) < kMinErrorMagnitude) {
|
||||
error = std::copysign(kMinErrorMagnitude, error);
|
||||
error =static_cast<float>(copysign(kMinErrorMagnitude, error));
|
||||
}
|
||||
|
||||
reflection_coeff /= -error;
|
||||
|
Loading…
Reference in New Issue
Block a user