Commit 3d4ea4d1 authored by Lynn Garren's avatar Lynn Garren
Browse files

fix from Gabriele

parent 694e3f8f
...@@ -155,10 +155,9 @@ void MixMaxRng::setSeeds(const long* Seeds, int seedNum) ...@@ -155,10 +155,9 @@ void MixMaxRng::setSeeds(const long* Seeds, int seedNum)
{ {
unsigned long seed0, seed1= 0, seed2= 0, seed3= 0; unsigned long seed0, seed1= 0, seed2= 0, seed3= 0;
if( seedNum < 1 ) { if( seedNum < 1 ) { // Assuming at least 2 seeds in vector...
std::cerr << "MixMaxRng:setSeeds - ERROR: no seeds provided: seedNum= " seed0= static_cast<unsigned long>(Seeds[0]) & MASK32;
<< seedNum << std::endl; seed1= static_cast<unsigned long>(Seeds[1]) & MASK32;
return;
} }
else else
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment