summaryrefslogtreecommitdiff
path: root/src/mul_si.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mul_si.c')
-rw-r--r--src/mul_si.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mul_si.c b/src/mul_si.c
index 7cf3bc7..f539d8b 100644
--- a/src/mul_si.c
+++ b/src/mul_si.c
@@ -1,6 +1,6 @@
/* mpc_mul_si -- Multiply a complex number by a signed integer.
-Copyright (C) 2005, 2009 INRIA
+Copyright (C) 2005, 2009, 2011 INRIA
This file is part of GNU MPC.
@@ -25,8 +25,8 @@ mpc_mul_si (mpc_ptr a, mpc_srcptr b, long int c, mpc_rnd_t rnd)
{
int inex_re, inex_im;
- inex_re = mpfr_mul_si (MPC_RE(a), MPC_RE(b), c, MPC_RND_RE(rnd));
- inex_im = mpfr_mul_si (MPC_IM(a), MPC_IM(b), c, MPC_RND_IM(rnd));
+ inex_re = mpfr_mul_si (mpc_realref(a), mpc_realref(b), c, MPC_RND_RE(rnd));
+ inex_im = mpfr_mul_si (mpc_imagref(a), mpc_imagref(b), c, MPC_RND_IM(rnd));
return MPC_INEX(inex_re, inex_im);
}