diff options
author | Tim Harley <tim.harley.uk@gmail.com> | 2014-02-25 19:48:55 +0400 |
---|---|---|
committer | Tim Harley <tim.harley.uk@gmail.com> | 2014-02-28 19:23:42 +0400 |
commit | 4b985215c6a40f13699094d96851209d24667fd4 (patch) | |
tree | 8aaec1a17c775d1f39b2ef143366feec3b40962c /Generator.c | |
parent | da77f9537e06a49cfc5c2158077c061061abba3c (diff) |
qth runs, can call random methods if you explicitly pass a generator.
Diffstat (limited to 'Generator.c')
-rw-r--r-- | Generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Generator.c b/Generator.c index e861d9c..e18e510 100644 --- a/Generator.c +++ b/Generator.c @@ -8,7 +8,7 @@ static const struct luaL_Reg torch_Generator_table_ [] = { static int torch_Generator_new(lua_State *L) { - THGenerator *gen = THRandomGenerator_new(); + THGenerator *gen = THGenerator_new(); luaT_pushudata(L, gen, torch_Generator); return 1; } |