aboutsummaryrefslogtreecommitdiff
path: root/python/src/_syncrng.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/_syncrng.c')
-rw-r--r--python/src/_syncrng.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/src/_syncrng.c b/python/src/_syncrng.c
index 9adda99..89ee5b1 100644
--- a/python/src/_syncrng.c
+++ b/python/src/_syncrng.c
@@ -27,6 +27,7 @@
*/
uint32_t lfsr113(uint64_t **state)
{
+ // NOTE: This function *must* be the same as in the R package
uint64_t z1, z2, z3, z4;
uint64_t b;
@@ -72,6 +73,7 @@ uint32_t lfsr113(uint64_t **state)
*/
void lfsr113_seed(uint32_t seed, uint64_t **state)
{
+ // NOTE: This function *must* be the same as in the R package
uint64_t z1 = 2,
z2 = 8,
z3 = 16,