Skip to content

Commit

Permalink
Fix defunct automatic IIR accumulator update
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Muenker <mail@chipmuenk.de>
  • Loading branch information
chipmuenk committed Nov 22, 2023
1 parent 3745e02 commit 9809da9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyfda/fixpoint_widgets/iir_df1/iir_df1_pyfixp_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ def dict2ui(self):
:class:`pyfda.input_widgets.input_fixpoint_specs.Input_Fixpoint_Specs`.
"""
fxq_dict = fb.fil[0]['fxqc']
# logger.warning(fxq_dict)
if 'QACC' not in fxq_dict:
fxq_dict.update({'QACC': {}}) # no accumulator settings in dict yet
logger.warning("'QACC' key missing in filter dict")
Expand All @@ -286,7 +285,7 @@ def dict2ui(self):

self.wdg_wq_coeffs_b.dict2ui(fxq_dict['QCB']) # update coefficient quantization
self.wdg_wq_coeffs_a.dict2ui() # settings
self.wdg_wq_accu.dict2ui(fxq_dict['QACC']) # and the accu as well
self.update_accu_settings() # update accumulator settings and UI

# --------------------------------------------------------------------------
def update_ovfl_cnt_all(self):
Expand Down

0 comments on commit 9809da9

Please sign in to comment.