summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2013-11-06 13:27:15 +0000
committerthevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4>2013-11-06 13:27:15 +0000
commit7e8a41cbd5ceeeb3c0067280c45dd3367189e460 (patch)
tree446fa9ab2d3cfbf141e9e980ceb0d3553f29fbdf
parentd592b52dc377d8d16152def8242a45fbcee9ba93 (diff)
downloadmpfr-7e8a41cbd5ceeeb3c0067280c45dd3367189e460.tar.gz
[tests/thypot.c] Fix use of an uninitialized variable.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8702 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/thypot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thypot.c b/tests/thypot.c
index a51e2d181..b8d6a0c14 100644
--- a/tests/thypot.c
+++ b/tests/thypot.c
@@ -35,7 +35,7 @@ special (void)
mpfr_init (z);
mpfr_set_nan (x);
- mpfr_hypot (z, x, y, MPFR_RNDN);
+ mpfr_hypot (z, x, x, MPFR_RNDN);
MPFR_ASSERTN(mpfr_nan_p (z));
mpfr_set_inf (x, 1);