- try to use array views

This commit is contained in:
Wim Pomp
2024-10-16 22:14:11 +02:00
parent 9ed901a11a
commit 76046b762e
4 changed files with 13 additions and 11 deletions

View File

@@ -332,7 +332,7 @@ macro_rules! impl_save {
z: usize,
) -> PyResult<()> {
if let Some(ijtifffile) = self.ijtifffile.as_mut() {
ijtifffile.save(frame.to_owned_array(), c, t, z)?;
ijtifffile.save(frame.as_array(), c, t, z)?;
}
Ok(())
}