Skip to content

Commit

Permalink
Fix initialization of PNL_RNG_MERSENNE_RANDOM_SEED
Browse files Browse the repository at this point in the history
  • Loading branch information
jlelong committed May 18, 2018
1 parent a7f6d72 commit a15fe4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librand/random.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,7 @@ void pnl_rng_init(PnlRng *rng, int type)
rng->size_state = sizeof(tausworthe_state);
break;
case PNL_RNG_MERSENNE:
case PNL_RNG_MERSENNE_RANDOM_SEED:
rng->Compute = MERSENNE;
rng->rand_or_quasi = PNL_MC;
rng->size_state = sizeof(mt_state);
Expand Down

0 comments on commit a15fe4e

Please sign in to comment.