From 4fd18ec7fe7157ebecbabd848ef4ea9af8037858 Mon Sep 17 00:00:00 2001 From: jlevine18 Date: Mon, 23 Sep 2019 09:28:35 -0500 Subject: [PATCH] global vars to bugfix --- data analysis/cudaregress.py | 1 + 1 file changed, 1 insertion(+) diff --git a/data analysis/cudaregress.py b/data analysis/cudaregress.py index 8cdbe141..b8d06ae6 100644 --- a/data analysis/cudaregress.py +++ b/data analysis/cudaregress.py @@ -58,6 +58,7 @@ def take_all_pwrs(vec,pwr): return out def set_device(new_device): + global device device=new_device class LinearRegKernel():