The in-place operation could possibly be on self.points as it was referenced and used then modified . I’m not exactly sure if this is the case.
Subtracting the zero solves the problem by creating a copy of the selected indexes; in this case subtracting the zero would be equivalence to self.points[SOMETHING].clone()