I'm trying to to update an element in an array. If I've got an array say:
[[0, 0],
[0, 0]]
as far as I knew the way to update eg. the first element to 0.5, was
array[0,0] = 0.5
However when I print the array the contents are unchanged. I read some things on Stack Overflow about copies being created of arrays but I don't know if this applies.
Any help would be great