Skip to content
Snippets Groups Projects
Commit 13335852 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Fixing size for random bytes

parent ba967eef
No related branches found
No related tags found
4 merge requests!439RCG 5.0 release fro deb 10,!366Merge with branch 4.2,!365Merge branch 'branch-4.2' into master-branch-4.2-merge,!354Adding gaussian noise part
......@@ -77,7 +77,7 @@ sub frontEndInitCode {
my $calcExp = "\L$::xpartName[$i] = 0;\n";
if( $::gaussNoiseGeneratorSeed eq "none")
{
$calcExp .= "ligo_get_random_bytes(gauss_gen_prng_state, sizeof(gauss_gen_prng_state)/sizeof(gauss_gen_prng_state[0]));\n";
$calcExp .= "ligo_get_random_bytes(gauss_gen_prng_state, sizeof(gauss_gen_prng_state));\n";
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment