Filter: revert AP_Math class change

This commit is contained in:
Andrew Tridgell 2015-05-05 12:35:55 +10:00
parent bcc6c7d380
commit f9114f849b

View File

@ -25,7 +25,7 @@
float DigitalBiquadFilter::apply(float sample, const struct biquad_params &params)
{
if(AP_Math::is_zero(params.cutoff_freq) || AP_Math::is_zero(params.sample_freq)) {
if(is_zero(params.cutoff_freq) || is_zero(params.sample_freq)) {
return sample;
}