Bug report on ndarray assignment