Does it work if tyou add a dot after Normal?
pdf.(Normal.(0, sigma), vals)
That way you are broadcasting also the Normal function to the elements of sigma.
Does it work if tyou add a dot after Normal?
pdf.(Normal.(0, sigma), vals)
That way you are broadcasting also the Normal function to the elements of sigma.