google-deepmind / torch-randomkit

Provides and wraps the Randomkit library, copied from Numpy.
BSD 3-Clause "New" or "Revised" License
34 stars 25 forks source link

Requires torch import before randomkit import #54

Open alexbw opened 9 years ago

alexbw commented 9 years ago

"torch" is used as an undefined variable, unless required globally before requiring randomkit. Line 116, init.lua.

Will submit PR if that is appropriate.

akfidjeland commented 9 years ago

A PR would be great. As a one-time formality you would have to sign the Google Individual Contributor License Agreement before we can merge, following the recently added instructions in https://github.com/deepmind/torch-randomkit/blob/master/CONTRIBUTING.md.