diff options
Diffstat (limited to 'src/inp_str.c')
-rw-r--r-- | src/inp_str.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inp_str.c b/src/inp_str.c index 39d8625..695a3ad 100644 --- a/src/inp_str.c +++ b/src/inp_str.c @@ -1,6 +1,6 @@ /* mpc_inp_str -- Input a complex number from a given stream. -Copyright (C) 2009, 2010 INRIA +Copyright (C) 2009, 2010, 2011 INRIA This file is part of GNU MPC. @@ -230,8 +230,8 @@ mpc_rnd_t rnd_mode) error: if (inex == -1) { - mpfr_set_nan (MPC_RE(rop)); - mpfr_set_nan (MPC_IM(rop)); + mpfr_set_nan (mpc_realref(rop)); + mpfr_set_nan (mpc_imagref(rop)); } if (read != NULL) *read = white + nread; |