From 9cdbd15a59540e9e7ef0aae30911c2cf631a4d7f Mon Sep 17 00:00:00 2001
From: David Keitel <david.keitel@ligo.org>
Date: Wed, 31 Jan 2018 12:04:11 +0000
Subject: [PATCH] set self.cudaDeviceName=None in additional search classes to
 fix tests

 -not sure why this is not inherited from the base ComputeFstat class
---
 pyfstat/core.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyfstat/core.py b/pyfstat/core.py
index feafa00..a7e0485 100755
--- a/pyfstat/core.py
+++ b/pyfstat/core.py
@@ -981,6 +981,7 @@ class SemiCoherentSearch(ComputeFstat):
         self.t0Band  = None
         self.tauBand = None
         self.tCWFstatMapVersion = 'lal'
+        self.cudaDeviceName = None
         self.init_computefstatistic_single_point()
         self.init_semicoherent_parameters()
 
@@ -1121,6 +1122,7 @@ class SemiCoherentGlitchSearch(ComputeFstat):
         self.t0Band  = None
         self.tauBand = None
         self.tCWFstatMapVersion = 'lal'
+        self.cudaDeviceName = None
         self.binary  = False
         self.init_computefstatistic_single_point()
 
-- 
GitLab