Skip to content

Update cell's __array__ signature for numpy2

Ask Hjorth Larsen requested to merge fix-__array__-signature into numpy-2

Update Cell.__array__() to new numpy specs and add small test of array view/copy behaviour. I didn't actually run this with numpy 2.0.

This MR includes latest master.

Checklist

Merge request reports