Skip to content

Commit

Permalink
pyo3 = 0.23.3, latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
calbaker committed Jan 3, 2025
1 parent 4517f3f commit 708ee6a
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ codegen-units = 1 # optimize connection between modules
[workspace.dependencies]
anyhow = "1.0.57"
ndarray = { version = "0.15.4", features = ["serde"] }
pyo3 = "0.22.4"
pyo3 = "0.23.3"
pyo3-log = "*"
serde = "1.0.143"
serde_json = "1.0.83"
2 changes: 1 addition & 1 deletion rust/fastsim-core/src/cycle.rs
Original file line number Diff line number Diff line change
@@ -536,7 +536,7 @@ impl RustCycleCache {
}
pub fn to_dict<'py>(&self, py: Python<'py>) -> anyhow::Result<Bound<'py, PyDict>> {
let dict = PyDict::new_bound(py);
let dict = PyDict::new(py);
dict.set_item("time_s", self.time_s.to_vec())?;
dict.set_item("mps", self.mps.to_vec())?;
dict.set_item("grade", self.grade.to_vec())?;

0 comments on commit 708ee6a

Please sign in to comment.