Skip to content

Commit 21c8370

Browse files
committed
Fix typo in exception raised for frequency validation in godin function
1 parent bf0131f commit 21c8370

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vtools/functions/filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ def godin(ts):
619619
"""
620620
freq = ts.index.freq
621621
if freq is None:
622-
raise ValueException("Series must be regular (have freq set)")
622+
raise ValueError("Series must be regular (have freq set)")
623623
godin_ir = generate_godin_fir(freq)
624624
nfilt = len(godin_ir)
625625
nhalffilt = nfilt // 2

0 commit comments

Comments
 (0)