diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-11-04 18:39:52 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2011-11-04 18:39:52 +0000 |
commit | 5ad0bccecc2c0aafdc23571a491fccc31171c22c (patch) | |
tree | fbb979252a636e9fc3215e15e12be49ca6d35a95 /src/urandom.c | |
parent | 18e9d42b59925987d8128096c4a7ea6d49721862 (diff) | |
download | mpc-5ad0bccecc2c0aafdc23571a491fccc31171c22c.tar.gz |
replaced MPC_RE by mpc_realref and MPC_IM by mpc_imagref everywhere
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1112 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/urandom.c')
-rw-r--r-- | src/urandom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/urandom.c b/src/urandom.c index 6734ac9..f8e5f90 100644 --- a/src/urandom.c +++ b/src/urandom.c @@ -1,7 +1,7 @@ /* mpc_urandom -- Generate a random complex number uniformly distributed in the interval [0,1[. -Copyright (C) 2008, 2009 INRIA +Copyright (C) 2008, 2009, 2011 INRIA This file is part of GNU MPC. @@ -26,7 +26,7 @@ mpc_urandom (mpc_ptr a, gmp_randstate_t state) { int r, i; - r = mpfr_urandomb (MPC_RE(a), state); - i = mpfr_urandomb (MPC_IM(a), state); + r = mpfr_urandomb (mpc_realref(a), state); + i = mpfr_urandomb (mpc_imagref(a), state); return r && i; } |