diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-23 18:55:48 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-01-23 18:55:48 -0500 |
| commit | c8a773eea311e91f6c75592ccff779065884edca (patch) | |
| tree | 0e2855fa9b088c1ae4c3b28c05827d7d19a457c4 /include/cnn1986_treap_cache.c | |
| parent | 50678edd7ed39049902bedeb57c8044c7375e126 (diff) | |
Fixed some important bugs
Diffstat (limited to 'include/cnn1986_treap_cache.c')
| -rw-r--r-- | include/cnn1986_treap_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/cnn1986_treap_cache.c b/include/cnn1986_treap_cache.c index 94eda58..941ec1c 100644 --- a/include/cnn1986_treap_cache.c +++ b/include/cnn1986_treap_cache.c @@ -101,8 +101,7 @@ TreapNode new_treap_node(const float in_result, const uint64_t key) { n->left = NULL; n->right = NULL; n->parent = NULL; - n->weight = RANDOM32; - XORSHIFT; + XORSHIFT64; n->weight = RANDOM32; // Set value n->result = in_result; return n; |
