GLYCAM-Web / gmml2

Glycam Molecular Modeling Library
GNU Lesser General Public License v3.0
0 stars 0 forks source link

RNG engine is statically declared in a header file. #6

Closed gitoliver closed 3 months ago

gitoliver commented 8 months ago

// Seed with a real random value, if available static pcg_extras::seed_seq_from seed_source; // Make a random number engine static pcg32 rng(seed_source);

I don't think I've included it everywhere, but this is a bad idea.

vraid commented 3 months ago

It's now defined locally in the programs that use randomness; the glycoprotein builder and wiggle to site.