run astyle
This commit is contained in:
1 parent
94d87ed33e
commit
65e10c71b0
89 files changed
+888
-488
No files matched your search
@@ -50,7 +50,8 @@ boost::thread_specific_ptr<boost::mt19937> g_rand_state;
|
||||
|
||||
struct det_rng : std::unary_function<unsigned, unsigned> {
|
||||
boost::mt19937 &_state;
|
||||
unsigned operator()(unsigned i) {
|
||||
unsigned operator()(unsigned i)
|
||||
{
|
||||
boost::uniform_int<> rng(0, i - 1);
|
||||
return rng(_state);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user