Skip to content

Commit

Permalink
fix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBuchananCompPhys committed Feb 10, 2025
1 parent ff2ec53 commit ef5ab5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MDANSE/Src/MDANSE/Mathematics/Signal.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def freq_response(

if method is methods.FFT:
freq_range = self.frequency_range(self.n_steps, self.sample_freq ** (-1))
elif self.custom_freq_range.any() and method is methods.Custom:
elif self.custom_freq_range.any() and method is methods.CUSTOM:
freq_range = self.custom_freq_range
else:
RuntimeError(
Expand Down

0 comments on commit ef5ab5f

Please sign in to comment.