File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,6 @@ def set_state(self, state):
106106
107107 # pickling support
108108 def __reduce__ (self ):
109- global __NPRandomState_ctor
110109 return (__NPRandomState_ctor , (), self .get_state ())
111110
112111 def random_sample (self , size = None ):
Original file line number Diff line number Diff line change @@ -5603,7 +5603,6 @@ cdef class MKLRandomState(_MKLRandomState):
56035603
56045604 # pickling support
56055605 def __reduce__ (self ):
5606- global __MKLRandomState_ctor
56075606 return (__MKLRandomState_ctor , (), self .get_state ())
56085607
56095608 def leapfrog (self , int k , int nstreams ):
@@ -5969,7 +5968,6 @@ class RandomState(MKLRandomState):
59695968
59705969 # pickling support
59715970 def __reduce__ (self ):
5972- global __RandomState_ctor
59735971 return (__RandomState_ctor , (), self .get_state ())
59745972
59755973
You can’t perform that action at this time.
0 commit comments