summaryrefslogtreecommitdiff
path: root/cos.c
diff options
context:
space:
mode:
Diffstat (limited to 'cos.c')
-rw-r--r--cos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cos.c b/cos.c
index cae71cfbf..d45ac51dc 100644
--- a/cos.c
+++ b/cos.c
@@ -43,7 +43,7 @@ mpfr_cos (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode)
else if (MPFR_IS_ZERO(x))
return mpfr_set_ui (y, 1, GMP_RNDN);
/* Never reach this */
- MPFR_ASSERTN(1);
+ MPFR_ASSERTN(0);
}
precy = MPFR_PREC(y);