From 0b05f33b691e4e62cc668f6e98bf9375f7caf4c9 Mon Sep 17 00:00:00 2001
From: Patrick Godwin <patrick.godwin@ligo.org>
Date: Thu, 20 Jun 2019 07:12:26 -0700
Subject: [PATCH] utils.py: switch dtype for features from numpy.float32 to
 float

---
 gstlal-burst/python/fxtools/utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gstlal-burst/python/fxtools/utils.py b/gstlal-burst/python/fxtools/utils.py
index e5304efe26..64d219164c 100644
--- a/gstlal-burst/python/fxtools/utils.py
+++ b/gstlal-burst/python/fxtools/utils.py
@@ -273,7 +273,7 @@ class HDF5TimeseriesFeatureData(FeatureData):
 		self.sample_rate = kwargs['sample_rate']
 		self.waveform = kwargs['waveform']
 		self.metadata = dict(**kwargs)
-		self.dtype = [(column, numpy.float32) for column in self.columns]
+		self.dtype = [(column, 'float') for column in self.columns]
 		self.feature_data = {key: numpy.empty((self.cadence * self.sample_rate,), dtype = self.dtype) for key in keys}
 		self.last_save_time = 0
 		self.clear()
@@ -322,7 +322,7 @@ class HDF5ETGFeatureData(FeatureData):
 		self.cadence = kwargs['cadence']
 		self.waveform = kwargs['waveform']
 		self.metadata = dict(**kwargs)
-		self.dtype = [(column, numpy.float32) for column in self.columns]
+		self.dtype = [(column, 'float') for column in self.columns]
 		self.feature_data = {key: [] for key in keys}
 		self.clear()
 
-- 
GitLab