diff options
author | andreas128 <Andreas> | 2017-09-14 12:08:25 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-09-14 12:08:25 +0200 |
commit | 4193a475bbdd034d86e2b14ea97300cc999bd994 (patch) | |
tree | 250e31e7b5e0e473894f46b9fdb2711f697cbcfa /dpd/src/Adapt.py | |
parent | e55b7fc41a1744cf1fd558a4ddfb8698efbd3793 (diff) | |
download | dabmod-4193a475bbdd034d86e2b14ea97300cc999bd994.tar.gz dabmod-4193a475bbdd034d86e2b14ea97300cc999bd994.tar.bz2 dabmod-4193a475bbdd034d86e2b14ea97300cc999bd994.zip |
Change Adapt coef return to float32 array
Diffstat (limited to 'dpd/src/Adapt.py')
-rw-r--r-- | dpd/src/Adapt.py | 3 |
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) |