Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff committed Jul 2, 2023
1 parent c486a8e commit 5b272de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run/run_stats.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for (R, F) in ((:runcor, :vcor), (:runcov, :vcov))
end
result
end
function $R(width::Integer, data1, data2, weights1, weights2) =
function $R(width::Integer, data1, data2, weights1, weights2; padding = zero(eltype(data1)))
result = running(VectorizedStatistics.$F, width, data1, data2, weights1, weights2)
if padding != nopadding
result[1] = padding
Expand Down

0 comments on commit 5b272de

Please sign in to comment.