Skip to content

Commit

Permalink
fix issue of not passing freq_range through in BaseModel
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Apr 30, 2024
1 parent 41509d8 commit 42abfed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specparam/objs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def add_data(self, freqs, power_spectrum, freq_range=None, clear_results=True):
# Clear results, if present, unless indicated not to
self._reset_results(clear_results=self.has_model and clear_results)

super().add_data(freqs, power_spectrum, freq_range=None)
super().add_data(freqs, power_spectrum, freq_range=freq_range)


@copy_doc_func_to_method(save_model)
Expand Down

0 comments on commit 42abfed

Please sign in to comment.