Reduce number of assertions

This commit is contained in:
Petr Gladkikh 2024-11-15 00:23:30 +04:00
parent e983383a7f
commit de29cb3925

View file

@ -51,11 +51,8 @@ where
let to = to.0;
assert!(num_channels >= 1);
assert!(num_channels <= 128);
assert!(from >= 1);
assert!(from <= 500_000);
assert!(to >= 1);
assert!(to <= 500_000);
// finding the greatest common divisor
let gcd = {