aboutsummaryrefslogtreecommitdiffstats
path: root/dpd
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-14 12:08:25 +0200
committerandreas128 <Andreas>2017-09-14 12:08:25 +0200
commit4193a475bbdd034d86e2b14ea97300cc999bd994 (patch)
tree250e31e7b5e0e473894f46b9fdb2711f697cbcfa /dpd
parente55b7fc41a1744cf1fd558a4ddfb8698efbd3793 (diff)
downloaddabmod-4193a475bbdd034d86e2b14ea97300cc999bd994.tar.gz
dabmod-4193a475bbdd034d86e2b14ea97300cc999bd994.tar.bz2
dabmod-4193a475bbdd034d86e2b14ea97300cc999bd994.zip
Change Adapt coef return to float32 array
Diffstat (limited to 'dpd')
-rw-r--r--dpd/src/Adapt.py3
1 files changed, 2 insertions, 1 deletions
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)