Skip to content
Snippets Groups Projects
Commit 3b734034 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix RNG: Actually fill last entry of array of divisible-by-4 length.

parent 294b8a28
Branches
Tags
No related merge requests found
......@@ -124,7 +124,7 @@ class RanluxGenerator(object):
if (idx+2 < out_size)
output[idx+2] = tail_ran.z;
if (idx+3 < out_size)
output[idx+2] = tail_ran.w;
output[idx+3] = tail_ran.w;
ranluxcl_upload_seed(&ranluxclstate, ranluxcltab);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment