Solved by albanD in post #2 
              
              
                Hi, 
This is because advanced indexing methods (fancy things in brackets) try to return view but they cannot always do it. So you should not rely on it returning the same memory. 
If you just want to change this part of t, you can use t[0, [1, 2]] += 1 that will change t inplace properly.