Skip to content

Commit

Permalink
Update broadcast.jl (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty authored Aug 26, 2020
1 parent 7e58e3e commit 3eb9c0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generic/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -642,9 +642,9 @@ function _banded_broadcast!(dest::AbstractMatrix, f, (A,B)::Tuple{AbstractMatrix
fill!(view(data_d,1:d_u-max(A_u,B_u),:), z)
fill!(view(data_d,d_u+max(A_l,B_l)+2:size(data_d,1),:), z)
# between A and B if non-overlapping
bs = max(-d_u,-B_l+1):min(A_u-1,d_l)
bs = max(-d_u,B_l+1):min(-A_u-1,d_l)
fill!(view(data_d, bs .+ d_u .+ 1, :), z)
bs = max(-d_u,-A_l+1):min(B_u-1,d_l)
bs = max(-d_u,A_l+1):min(-B_u-1,d_l)
fill!(view(data_d, bs .+ d_u .+ 1, :), z)

# construct where B upper is zero
Expand Down

2 comments on commit 3eb9c0d

@dlfivefifty
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/20227

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.15.19 -m "<description of version>" 3eb9c0d77f471db67b87b7dc5f9832c1d0beb0b2
git push origin v0.15.19

Please sign in to comment.