File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
# ng-numpy-randomstate
2
- [ ![ Build Status] ( https://travis-ci.org/bashtage/ng-numpy-randomstate.svg?branch=master )] ( https://travis-ci.org/bashtage/ng-numpy-randomstate )
2
+ [ ![ Build Status] ( https://travis-ci.org/bashtage/ng-numpy-randomstate.svg?branch=master )] ( https://travis-ci.org/bashtage/ng-numpy-randomstate )
3
+ [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/odc5c4ukhru5xicl/branch/master?svg=true )] ( https://ci.appveyor.com/project/bashtage/ng-numpy-randomstate/branch/master )
3
4
4
5
This is a library and generic interface for alternative random generators
5
6
in Python and Numpy. This modules includes a number of alternative random
Original file line number Diff line number Diff line change @@ -42,5 +42,7 @@ def __generic_ctor(mod_name='mt19937'):
42
42
mod = xorshift128
43
43
elif mod_name == 'xorshift1024' :
44
44
mod = xorshift1024
45
+ else :
46
+ raise ValueError (str (mod_name ) + ' is not a known PRNG module.' )
45
47
46
48
return mod .RandomState (0 )
You can’t perform that action at this time.
0 commit comments