I am new to Julia and I am really surprised by the behavior of the following code.
using Random, Distributions function get_a(a, b) if b == 1 a =