global vars to bugfix

This commit is contained in:
jlevine18 2019-09-23 09:28:35 -05:00 committed by GitHub
parent 4522c9561b
commit 3d77fc5290

View File

@ -58,6 +58,7 @@ def take_all_pwrs(vec,pwr):
return out return out
def set_device(new_device): def set_device(new_device):
global device
device=new_device device=new_device
class LinearRegKernel(): class LinearRegKernel():