summaryrefslogtreecommitdiff
path: root/numpy/random/src
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2019-06-27 16:17:09 -0700
committermattip <matti.picus@gmail.com>2019-06-27 16:27:47 -0700
commit14c333972d64fce85d06d74bc673045f32da7b5f (patch)
treec2580325e9f3474edfb4a6196d37b98f7af9e7e9 /numpy/random/src
parent4178b5a731cd183563d53ed145e7dce278aa39f6 (diff)
downloadnumpy-14c333972d64fce85d06d74bc673045f32da7b5f.tar.gz
MAINT: move location of bitgen.h
Diffstat (limited to 'numpy/random/src')
-rw-r--r--numpy/random/src/bitgen.h18
-rw-r--r--numpy/random/src/distributions/distributions.h2
2 files changed, 1 insertions, 19 deletions
diff --git a/numpy/random/src/bitgen.h b/numpy/random/src/bitgen.h
deleted file mode 100644
index 9ebc15346..000000000
--- a/numpy/random/src/bitgen.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef _RANDOM_BITGEN_H
-#define _RANDOM_BITGEN_H
-
-#pragma once
-#include <stddef.h>
-#include <stdbool.h>
-#include <stdint.h>
-
-typedef struct bitgen {
- void *state;
- uint64_t (*next_uint64)(void *st);
- uint32_t (*next_uint32)(void *st);
- double (*next_double)(void *st);
- uint64_t (*next_raw)(void *st);
-} bitgen_t;
-
-
-#endif
diff --git a/numpy/random/src/distributions/distributions.h b/numpy/random/src/distributions/distributions.h
index 03b8ec371..c8cdfd20f 100644
--- a/numpy/random/src/distributions/distributions.h
+++ b/numpy/random/src/distributions/distributions.h
@@ -9,7 +9,7 @@
#include "Python.h"
#include "numpy/npy_common.h"
#include "numpy/npy_math.h"
-#include "src/bitgen.h"
+#include "numpy/random/bitgen.h"
/*
* RAND_INT_TYPE is used to share integer generators with RandomState which