From a9848062f2b3daa55bedccf25471ceb21382f601 Mon Sep 17 00:00:00 2001 From: Thorsten Hater <24411438+thorstenhater@users.noreply.github.com> Date: Tue, 30 May 2023 08:02:29 +0200 Subject: [PATCH] Fix a typo in python bindings. --- doc/python/cable_cell.rst | 2 +- python/cells.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/python/cable_cell.rst b/doc/python/cable_cell.rst index 7eb028b6e6..7a26860ce6 100644 --- a/doc/python/cable_cell.rst +++ b/doc/python/cable_cell.rst @@ -132,7 +132,7 @@ Cable cells Set the default value for the temperature (``K``). - .. property:: axial_resisitivity + .. property:: axial_resistivity Set the default value for the membrane axial resisitivity. (``Ω·cm``) diff --git a/python/cells.cpp b/python/cells.cpp index 1421d3e591..7a0c24c094 100644 --- a/python/cells.cpp +++ b/python/cells.cpp @@ -645,7 +645,7 @@ void register_cells(pybind11::module& m) { .def_property("temperature", [](const arb::cable_cell_global_properties& props) { return props.default_parameters.temperature_K; }, [](arb::cable_cell_global_properties& props, double u) { props.default_parameters.temperature_K = u; }) - .def_property("axial_resisitivity", + .def_property("axial_resistivity", [](const arb::cable_cell_global_properties& props) { return props.default_parameters.axial_resistivity; }, [](arb::cable_cell_global_properties& props, double u) { props.default_parameters.axial_resistivity = u; }) .def("set_property",