aboutsummaryrefslogtreecommitdiff
path: root/celt/mathops.c
diff options
context:
space:
mode:
Diffstat (limited to 'celt/mathops.c')
-rw-r--r--celt/mathops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/mathops.c b/celt/mathops.c
index 21a01f52..78b52cc8 100644
--- a/celt/mathops.c
+++ b/celt/mathops.c
@@ -182,7 +182,7 @@ opus_val32 celt_rcp(opus_val32 x)
int i;
opus_val16 n;
opus_val16 r;
- celt_assert2(x>0, "celt_rcp() only defined for positive values");
+ celt_sig_assert(x>0);
i = celt_ilog2(x);
/* n is Q15 with range [0,1). */
n = VSHR32(x,i-15)-32768;