Skip to content
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove Python object and py lifetime
  • Loading branch information
g-bauer committed Feb 18, 2022
commit 17996b39caab70c8c129fdbc6dd7df4e7e6128d3
2 changes: 1 addition & 1 deletion src/python/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ macro_rules! impl_estimator {
/// -------
/// List[SIArray1]
#[pyo3(text_signature = "($self, eos)")]
fn predict<'py>(&self, eos: &$py_eos, py: Python<'py>) -> PyResult<Vec<PySIArray1>> {
fn predict(&self, eos: &$py_eos) -> PyResult<Vec<PySIArray1>> {
Ok(self
.0
.predict(&eos.0)?
Expand Down