summaryrefslogtreecommitdiff
path: root/tests/read_data.c
diff options
context:
space:
mode:
authorthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-11-26 15:08:28 +0000
committerthevenyp <thevenyp@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-11-26 15:08:28 +0000
commitd74e64a1b8a1070d5142754dc8fc03ae1de8b27b (patch)
treeb05a5fb6c0714cb397e20a7dbd3f42dfe8a3b2c8 /tests/read_data.c
parentbc079cf392d9064d2ca8edc79ed5065ee32664a2 (diff)
downloadmpc-d74e64a1b8a1070d5142754dc8fc03ae1de8b27b.tar.gz
Add forgotten initializations.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@352 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/read_data.c')
-rw-r--r--tests/read_data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/read_data.c b/tests/read_data.c
index b9ddb80..d51a6bf 100644
--- a/tests/read_data.c
+++ b/tests/read_data.c
@@ -334,6 +334,9 @@ data_check (mpc_function function, const char *file_name)
{
mpfr_t got, expected;
mpc_t op;
+ op[0] = z1[0];
+ got[0] = x2[0];
+ expected[0] = x1[0];
printf ("%s(op) failed (%s:%lu)\nwith rounding mode %s\n",
function.name, file_name, line_number,
mpfr_rnd_mode[mpfr_rnd]);