You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>sin(1)
0.8414709848078965
julia>sin.([1])
ERROR:InexactError()
inmacro expansion at ./broadcast.jl:97 [inlined]
inmacro expansion at ./simdloop.jl:73 [inlined]
inmacro expansion at ./broadcast.jl:91 [inlined]
in_broadcast!(::Base.#sin, ::Array{Int64,1}, ::Tuple{Tuple{Bool}}, ::Tuple{Array{Int64,1}}, ::Type{Val{1}}) at ./broadcast.jl:86in broadcast! at ./broadcast.jl:139 [inlined]
inbroadcast(::Function, ::Array{Int64,1}) at ./broadcast.jl:143ineval(::Module, ::Any) at ./boot.jl:231inmacro expansion at ./REPL.jl:92 [inlined]
in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46
Current (as of this writing) master:
I would have expected this to work as
map
does:Any idea why this is happening?
The text was updated successfully, but these errors were encountered: