global vars to bugfix

This commit is contained in:
jlevine18 authored and GitHub committed 2019-09-23 09:28:35 -05:00
1 parent dc6f896071
commit 4fd18ec7fe
1 file changed
+1
+1
View File
@@ -58,6 +58,7 @@ def take_all_pwrs(vec,pwr):
return out
def set_device(new_device):
global device
device=new_device
class LinearRegKernel():