summaryrefslogtreecommitdiff
path: root/src/real.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/real.c')
-rw-r--r--src/real.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/real.c b/src/real.c
index d67f093..041dddb 100644
--- a/src/real.c
+++ b/src/real.c
@@ -1,6 +1,6 @@
/* mpc_real -- Get the real part 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_real (mpfr_ptr a, mpc_srcptr b, mpfr_rnd_t rnd)
{
- return mpfr_set (a, MPC_RE (b), rnd);
+ return mpfr_set (a, mpc_realref (b), rnd);
}