Skip to content

Commit

Permalink
bug on read dsp db
Browse files Browse the repository at this point in the history
  • Loading branch information
pnallin committed Nov 21, 2022
1 parent cdf54d6 commit 005ca1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*.py[cod]
*.so
*.spec
*.swp
.Python
.code-workspace
.coverage
Expand Down
10 changes: 5 additions & 5 deletions src/pydrs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2321,14 +2321,14 @@ def get_dsp_modules_bank(
].append(dsp_coeffs)

if return_floathex:
dsp_modules_bank[dsp_classes_names[dsp_class]]["coeffs"] = [
dsp_modules_bank[dsp_classes_names[dsp_class]]["coeffs"].append([
dsp_coeffs,
dsp_coeffs_hex,
]
])
else:
dsp_modules_bank[dsp_classes_names[dsp_class]][
"coeffs"
] = dsp_coeffs
dsp_modules_bank[dsp_classes_names[dsp_class]]["coeffs"].append(
dsp_coeffs
)

return dsp_modules_bank

Expand Down

0 comments on commit 005ca1f

Please sign in to comment.