ndarray
ndarray copied to clipboard
Bounds on `remove_index`
While working on some code, I ran across remove_index and noticed that it has a bound of S: DataOwned, but I'm not sure why?
pub fn remove_index(&mut self, axis: Axis, index: usize)
where S: DataOwned + DataMut
As this method documents, it does not actually change the allocation of the underlying array, and none of its internal methods require DataOwned. Can this bound be removed? Or am I missing something?