Skip to content

Commit

Permalink
Updated pyo3 to 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Jan 5, 2025
1 parent f77e261 commit cafe8bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/argmin-testfunctions-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ crate-type = ["cdylib"]
[dependencies]
argmin_testfunctions = { version = "0.2.0", path = "../../crates/argmin-testfunctions" }
paste = "1"
pyo3 = "=0.21.0"
pyo3 = "0.23"
2 changes: 1 addition & 1 deletion python/argmin-testfunctions-py/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func!(styblinski_tang);
func!(threehumpcamel, num = 2);

#[pymodule]
fn argmin_testfunctions_py(_py: Python, m: &PyModule) -> PyResult<()> {
fn argmin_testfunctions_py(_py: Python, m: &Bound<'_, PyModule>) -> PyResult<()> {
add_function!(m, ackley);
add_function!(m, beale);
add_function!(m, booth);
Expand Down

0 comments on commit cafe8bb

Please sign in to comment.