Commit b4b864a7 authored by Brian Pickrell's avatar Brian Pickrell
Browse files

multinomial_dyn_test with 0-size seed at runtime

parent 5c043ac8
......@@ -105,7 +105,6 @@ struct rand_uniform
if(args.at(1).get_shape().element_space() > 0)
{
visit_all(args[1])([&](auto data) { local_seed = data[0]; });
local_seed++;
}
else // obtain a seed from the system clock:
local_seed = std::chrono::system_clock::now().time_since_epoch().count();
......
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