Hi, I know from the FAQ that it's not possible to modify an immutable type inside a function in Julia (http://julia.readthedocs.org/en/latest/manual/faq/#functions). Let us assume I want to do it anyway:
- is there any other way to do it rather than wrapping a real number inside a vector of size 1 and modify this vector as follows: x = [1] function change_value!(y) y[1] = 2; end change_value!(x) - should I design my program differently? Thanks,
