-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed

Description
This works fine: rand(Complex{Int64})
Likewise does: rand(Complex{Float64})
However this does not: rand(Complex)
I get this reported like a thousand times:
in rand! at random.jl:147
in rand at random.jl:152
Maybe include an instructive error message or defaulting it to a type when not supplied explicitly.
Metadata
Metadata
Assignees
Labels
No labels