From a48d35261267334a8ea5970d286d81badb0ce2a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 04:34:42 +0000 Subject: [PATCH 1/2] Bump maturin from 1.6.0 to 1.7.0 Bumps [maturin](https://github.com/pyo3/maturin) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/pyo3/maturin/releases) - [Changelog](https://github.com/PyO3/maturin/blob/main/Changelog.md) - [Commits](https://github.com/pyo3/maturin/compare/v1.6.0...v1.7.0) --- updated-dependencies: - dependency-name: maturin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c6608b72..f6ef48aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin==1.6.0"] +requires = ["maturin==1.7.0"] build-backend = "maturin" [project] @@ -12,7 +12,7 @@ authors = [ requires-python = ">=3.8,<3.13" dependencies = [ "cffi==1.16.0", - "maturin==1.6.0", + "maturin==1.7.0", "numpy" ] classifiers = [ From 9ba1de6ef8da1c5869005fc8ff31ae9e83a6ce39 Mon Sep 17 00:00:00 2001 From: "Michael R. Buche" Date: Mon, 8 Jul 2024 08:44:32 -0600 Subject: [PATCH 2/2] Update py.rs --- src/constitutive/hyperelastic_damage/buche_silberstein/py.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constitutive/hyperelastic_damage/buche_silberstein/py.rs b/src/constitutive/hyperelastic_damage/buche_silberstein/py.rs index 8e4646ba..a4e80db8 100644 --- a/src/constitutive/hyperelastic_damage/buche_silberstein/py.rs +++ b/src/constitutive/hyperelastic_damage/buche_silberstein/py.rs @@ -107,11 +107,11 @@ impl BucheSilberstein &self.element, &self.factor, &self.grid, &self.normalization, &self.method, &self.nondimensional_critical_extension, &self.nondimensional_link_stiffness, &self.number_of_links, &self.swelling_ratio, - &stretch, &maximum_previous_stretch + stretch, &maximum_previous_stretch ) }).collect::>(); let results_1 = results.iter().map(|result| result[0]).collect(); let results_2 = results.iter().map(|result| result[1]).collect(); (PyArray::from_vec(py, results_1).to_dyn(), PyArray::from_vec(py, results_2).to_dyn()) } -} \ No newline at end of file +}