JuliaLang/julia

Uninformative Broadcast Error Message

Open

#30.438 aberto em 18 de dez. de 2018

Ver no GitHub
 (7 comments) (5 reactions) (0 assignees)Julia (5.773 forks)batch import
broadcasterror messagesgood first issue

Métricas do repositório

Stars
 (48.709 stars)
Métricas de merge de PR
 (Mesclagem média 20d 6h) (157 fundiu PRs em 30d)

Description

A = rand(3,5)
B = rand(2,2)
C = A .+ B

Gives ERROR: DimensionMismatch("arrays could not be broadcast to a common size") as error message. However, it would better to print out the sizes of the input arrays, wouldn't it?

Guia do colaborador