Skip to content

Commit

Permalink
assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisrkckl committed Sep 20, 2023
1 parent cad5c87 commit 2fa5a13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pint/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ def wavex_setup(model, T_span, freqs=None, n_freqs=None):
if len(freqs) == 1:
model.WXFREQ_0001.quantity = freqs
else:
np.array(freqs)
freqs = np.array(freqs)
freqs.sort()
if min(np.diff(freqs)) < nyqist_freq:
warnings.warn(
Expand Down Expand Up @@ -1425,7 +1425,7 @@ def dmwavex_setup(model, T_span, freqs=None, n_freqs=None):
if len(freqs) == 1:
model.DMWXFREQ_0001.quantity = freqs
else:
np.array(freqs)
freqs = np.array(freqs)
freqs.sort()
if min(np.diff(freqs)) < nyqist_freq:
warnings.warn(
Expand Down

0 comments on commit 2fa5a13

Please sign in to comment.