diff options
Diffstat (limited to 'celt/mathops.h')
-rw-r--r-- | celt/mathops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/mathops.h b/celt/mathops.h index 5324c18a..5e86ff0d 100644 --- a/celt/mathops.h +++ b/celt/mathops.h @@ -179,7 +179,7 @@ static OPUS_INLINE float celt_exp2(float x) /** Integer log in base2. Undefined for zero and negative numbers */ static OPUS_INLINE opus_int16 celt_ilog2(opus_int32 x) { - celt_assert2(x>0, "celt_ilog2() only defined for strictly positive numbers"); + celt_sig_assert(x>0); return EC_ILOG(x)-1; } #endif |