Open
Description
I tried to assign to a WeightedSumView. It works correctly, when the view is not masked, but if it is masked, it does not work. Pseudo code:
v = some_weighted_hist.view()
v.value[:] = [1, 2, 3] # work ok, v.value is now [1, 2, 3]
v[v.value == 2].value[:] = [3] # does not work, v.value is still [1, 2, 3]
I suppose that the masking operation returns a copy instead of a view.