Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
danking committed Sep 4, 2024
1 parent 8847b62 commit c407b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvortex/src/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use crate::error::PyVortexError;
pub fn compress<'py>(array: &Bound<'py, PyArray>) -> PyResult<Bound<'py, PyArray>> {
let compressor = SamplingCompressor::default();
let inner = compressor
.compress(&array.borrow().unwrap(), None)
.compress(array.borrow().unwrap(), None)
.map_err(PyVortexError::new)?
.into_array();
Bound::new(array.py(), PyArray::new(inner))
Expand Down

0 comments on commit c407b38

Please sign in to comment.