summaryrefslogtreecommitdiff
path: root/src/arg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arg.c')
-rw-r--r--src/arg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arg.c b/src/arg.c
index 7016826..20b5180 100644
--- a/src/arg.c
+++ b/src/arg.c
@@ -1,6 +1,6 @@
/* mpc_arg -- Get the argument of a complex number.
-Copyright (C) 2008, 2009 INRIA
+Copyright (C) 2008, 2009, 2011 INRIA
This file is part of GNU MPC.
@@ -23,5 +23,5 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
int
mpc_arg (mpfr_ptr a, mpc_srcptr b, mpfr_rnd_t rnd)
{
- return mpfr_atan2 (a, MPC_IM (b), MPC_RE (b), rnd);
+ return mpfr_atan2 (a, mpc_imagref (b), mpc_realref (b), rnd);
}