Permalink
Browse files

Revert "Removed GPL code from the C random number generator functions."

This reverts commit 971bed7.
  • Loading branch information...
1 parent 133d623 commit f0b6b66b36a64418e6fd93bf617823fe2e6361a1 @gaborcsardi gaborcsardi committed Dec 4, 2012
Showing with 1,524 additions and 55 deletions.
  1. +2 −1 pysplicing/src/pyrandom.c
  2. +1,511 −51 src/random.c
  3. +11 −3 src/splicing_random.h
@@ -155,7 +155,8 @@ splicing_rng_type_t splicing_rngtype_Python = {
/* get= */ splicing_rng_Python_get,
/* get_real */ splicing_rng_Python_get_real,
/* get_norm= */ splicing_rng_Python_get_norm,
- /* get_gamma= */ 0
+ /* get_geom= */ 0,
+ /* get_binom= */ 0
};
void pysplicing_init_rng(PyObject* splicing_module) {
Oops, something went wrong. Retry.

0 comments on commit f0b6b66

Please sign in to comment.