Skip to content

Commit

Permalink
Create fresh random source each time.
Browse files Browse the repository at this point in the history
  • Loading branch information
hulpke authored and fingolfin committed Oct 17, 2018
1 parent 214ed65 commit 87022cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/stbcbckt.gi
Original file line number Diff line number Diff line change
Expand Up @@ -2371,7 +2371,8 @@ local Omega, # a common operation domain for <G>, <E> and <F>
if ValueOption("norandom")=true then
i:=[1..Length(cycles.firsts)];
else
i:=FLOYDS_ALGORITHM(GlobalMersenneTwister,Length(cycles.firsts),false);
i:=FLOYDS_ALGORITHM(RandomSource(IsMersenneTwister),
Length(cycles.firsts),false);
fi;
order := cycles.points{ cycles.firsts{i} };
SortParallel( -(cycles.lengths{i}), order );
Expand Down

0 comments on commit 87022cb

Please sign in to comment.