-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotate docstring arguments with types in Filters #552
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #552 +/- ##
==========================================
- Coverage 97.75% 97.75% -0.01%
==========================================
Files 18 18
Lines 3202 3201 -1
==========================================
- Hits 3130 3129 -1
Misses 72 72 ☔ View full report in Codecov by Sentry. |
src/dspbase.jl
Outdated
@@ -5,10 +5,12 @@ const SMALL_FILT_CUTOFF = 58 | |||
_zerosi(b,a,T) = zeros(promote_type(eltype(b), eltype(a), T), max(length(a), length(b))-1) | |||
|
|||
""" | |||
filt(b, a, x, [si]) | |||
filt(b::Union{AbstractVector,Number}, a::Union{AbstractVector,Number}, x, [si]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x
is AbstractArray
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a bit fat now, though...
c5e63aa
to
13f972d
Compare
Merge? |
Mostly documentation, so it should be safe, but still needs an approval to merge |
For obvious PRs, there is the button on "Merge without waiting for requirements to be met". I would recommend using it for various docs and maintenance PRs. |
Addresses some concerns in #548 and implements the type restriction in #367.