diff options
Diffstat (limited to 'src/abs.c')
-rw-r--r-- | src/abs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* mpc_abs -- Absolute value of a complex number. -Copyright (C) 2008, 2009 INRIA +Copyright (C) 2008, 2009, 2011 INRIA This file is part of GNU MPC. @@ -24,5 +24,5 @@ along with this program. If not, see http://www.gnu.org/licenses/ . int mpc_abs (mpfr_ptr a, mpc_srcptr b, mpfr_rnd_t rnd) { - return mpfr_hypot (a, MPC_RE(b), MPC_IM(b), rnd); + return mpfr_hypot (a, mpc_realref(b), mpc_imagref(b), rnd); } |