Skip to content

Commit

Permalink
avoid minimum(f, x) for 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wheeheee committed Nov 29, 2023
1 parent ee1810e commit 45a534f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/filt_stream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function test_arbitrary(Th, x, resampleRate, numFilters)
append!(piecewiseResult, thisY)
end

commonLen = minimum(length, (naiveResult, statelessResult, statefulResult, piecewiseResult))
commonLen = minimum(length.((naiveResult, statelessResult, statefulResult, piecewiseResult)))
resize!(naiveResult, commonLen)
resize!(statelessResult, commonLen)
resize!(statefulResult, commonLen)
Expand Down

0 comments on commit 45a534f

Please sign in to comment.