Skip to content

Commit

Permalink
docstring fix
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Holters <[email protected]>
  • Loading branch information
wheeheee and martinholters committed Nov 5, 2024
1 parent 35a5183 commit 2b860b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filters/design.jl
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function normalize_freq(w::Real, fs::Real)
end
function normalize_complex_freq(w::Real, fs::Real)
f = 2 * w / fs
f >= 2 && throw(DomainError(f, "frequencies must be less than the Nyquist frequency $(fs)"))
f >= 2 && throw(DomainError(f, "frequencies must be less than the sampling frequency $(fs)"))
f
end

Expand Down

0 comments on commit 2b860b4

Please sign in to comment.