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 = [ 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 +}