Skip to content
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

fix an instance of getting mapany from Base #37419

Merged
merged 1 commit into from
Sep 6, 2020
Merged

fix an instance of getting mapany from Base #37419

merged 1 commit into from
Sep 6, 2020

Conversation

KristofferC
Copy link
Member

Reported on slack.

On master:

julia> p = rand(4,4); r = rand(2,4);

julia> @. @views p[1:2, :] += r
2×4 view(::Matrix{Float64}, 1:2, :) with eltype Float64:
 0.770739  1.57416   0.920107  1.6553
 1.29553   0.335126  1.1543    0.566289

julia> @views @. p[1:2, :] += r
ERROR: LoadError: UndefVarError: mapany not defined
Stacktrace:
 [1] undot(x::Expr)
   @ Base.Broadcast ./broadcast.jl:1176
 [2] __dot__(x::Expr)
   @ Base.Broadcast ./broadcast.jl:1192
 [3] @__dot__(__source__::LineNumberNode, __module__::Module, x::Any)
   @ Base.Broadcast ./broadcast.jl:1242
in expression starting at REPL[3]:1

Ref #37163.

@KristofferC KristofferC requested a review from timholy September 5, 2020 19:44
@timholy
Copy link
Member

timholy commented Sep 5, 2020

Thanks!

@KristofferC KristofferC merged commit bf886b5 into master Sep 6, 2020
@KristofferC KristofferC deleted the kc/mapany branch September 6, 2020 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants