1.0
is a Float64
which is immutable, it cannot be mutated. You should instead just rebind it
x = x_new
Why did you want to mutate a number?
1.0
is a Float64
which is immutable, it cannot be mutated. You should instead just rebind it
x = x_new
Why did you want to mutate a number?