global vars to bugfix

This commit is contained in:
jlevine18 2019-09-23 09:28:35 -05:00 committed by GitHub
parent dc6f896071
commit 4fd18ec7fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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():