Commit fc839da5 authored by Mirko Stoffers's avatar Mirko Stoffers

Fixed bug in seed generation

parent 08285dff
......@@ -36,4 +36,5 @@
/ide/org.omnetpp.sequencechart/.settings/
/ide/org.omnetpp.sequencechart/src/sequencechart/
*.swp
autom4te.cache
......@@ -1479,7 +1479,7 @@ void EnvirBase::createRNGs()
CREATE_BY_CLASSNAME(rng, opt_rng_class.c_str(), cRNG, "random number generator");
assert(rngs.size()==pos);
rngs.push_back(rng);
rngs[pos]->initialize(opt_seedset*moduleId, i, num_rngs_per_module, getParsimProcId(), getParsimNumPartitions(), getConfig());
rngs[pos]->initialize(opt_seedset, pos, num_rngs_per_module, getParsimProcId(), getParsimNumPartitions(), getConfig());
}
}
......
Markdown is supported
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