nirw4nna pushed a fix to the main branch ensuring the kth-largest operator doesn’t clobber its input. the C++ code now warns that x is modified in place, and the Python binding was updated with a temporary copy hack (marked FIXME) so kth operates on a clone rather than the original tensor.