summaryrefslogtreecommitdiff
path: root/src/nrandom.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-08-21 13:31:33 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-08-21 13:31:33 +0000
commitcf07612e0309cb9ce623c74cd7933364a9ca2dce (patch)
tree4259496b625979543ed65533984088910ed81368 /src/nrandom.c
parent589e4748934cf2108be8564665f73bf1c4be4056 (diff)
downloadmpfr-cf07612e0309cb9ce623c74cd7933364a9ca2dce.tar.gz
[src,tests] Consistency: in prototypes, changed
const mpfr_t to mpfr_srcptr mpfr_t to mpfr_ptr (except for mpfr_t *), as this is equivalent (the array is converted to a pointer) and the mpfr_srcptr/mpfr_ptr form is the usual one. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14103 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/nrandom.c')
-rw-r--r--src/nrandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nrandom.c b/src/nrandom.c
index b081c87ad..990987ee6 100644
--- a/src/nrandom.c
+++ b/src/nrandom.c
@@ -155,7 +155,7 @@ B (unsigned long k, mpfr_random_deviate_t x, gmp_randstate_t r,
/* return a normal random deviate with mean 0 and variance 1 as a MPFR */
int
-mpfr_nrandom (mpfr_t z, gmp_randstate_t r, mpfr_rnd_t rnd)
+mpfr_nrandom (mpfr_ptr z, gmp_randstate_t r, mpfr_rnd_t rnd)
{
mpfr_random_deviate_t x, p, q;
int inex;