diff --git a/dsp/src/trig.rs b/dsp/src/trig.rs index e306356..51e8b2e 100644 --- a/dsp/src/trig.rs +++ b/dsp/src/trig.rs @@ -25,8 +25,8 @@ pub fn atan2(y: i32, x: i32) -> i32 { let y = y >> 16; let x = x >> 16; - let ux = abs::(x); - let uy = abs::(y); + let ux = abs(x); + let uy = abs(y); // Uses the general procedure described in the following // Mathematics stack exchange answer: