summaryrefslogtreecommitdiff
path: root/tests/tsqr.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-01-07 16:17:11 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-01-07 16:17:11 +0000
commit397ce8da2cc325b6392e0e9bb10046a7dee30186 (patch)
tree81f8742f2f6510c257db629a47e58c48070c0a33 /tests/tsqr.c
parentac52f855461ae54db9e5ab8caedb002a688981ed (diff)
downloadmpc-397ce8da2cc325b6392e0e9bb10046a7dee30186.tar.gz
default precision removed, as well as init and all init_set
combinations git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@408 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tsqr.c')
-rw-r--r--tests/tsqr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/tsqr.c b/tests/tsqr.c
index 86be25e..adaad6a 100644
--- a/tests/tsqr.c
+++ b/tests/tsqr.c
@@ -151,11 +151,9 @@ special (void)
mpc_t x, z;
int inexact;
- mpc_init (x);
- mpc_init (z);
+ mpc_init2 (x, 8);
+ mpc_init2 (z, 8);
- mpc_set_prec (x, 8);
- mpc_set_prec (z, 8);
mpc_set_si_si (x, 4, 3, MPC_RNDNN);
inexact = mpc_sqr (z, x, MPC_RNDNN);
if (MPC_INEX_RE(inexact) || MPC_INEX_IM(inexact))