From 4193a475bbdd034d86e2b14ea97300cc999bd994 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Thu, 14 Sep 2017 12:08:25 +0200 Subject: Change Adapt coef return to float32 array --- dpd/src/Adapt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dpd') diff --git a/dpd/src/Adapt.py b/dpd/src/Adapt.py index b4042d6..8f33b70 100644 --- a/dpd/src/Adapt.py +++ b/dpd/src/Adapt.py @@ -147,7 +147,8 @@ class Adapt: .format(path, n_coefs, coefs)) i += 1 f.close() - return (coefs_am_out, coefs_pm_out) + return (np.array(coefs_am_out, dtype=np.float32), + np.array(coefs_pm_out, dtype=np.float32)) def get_coefs(self): return self._read_coef_file(self.coef_path) -- cgit v1.2.3