Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove unnecessary exception
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Holters <[email protected]>
wheeheee and martinholters authored Dec 13, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 789a6ee commit c997670
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/windows.jl
Original file line number Diff line number Diff line change
@@ -634,7 +634,6 @@ const BoolOr2 = Union{Tuple{Bool, Bool}, Bool}

function matrix_window(func, dims::Tuple{Integer,Integer}, arg::Union{RealOr2,Nothing}=nothing;
padding::IntegerOr2=0, zerophase::BoolOr2=false)
length(dims) == 2 || throw(ArgumentError("`dims` must be length 2"))
paddings = argdup(padding)
zerophases = argdup(zerophase)
if isnothing(arg)

0 comments on commit c997670

Please sign in to comment.