Skip to content

Commit

Permalink
Correct integer to float
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaCourtier committed Aug 6, 2024
1 parent 5450f21 commit 676e7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybop/models/empirical/base_ecm.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def get_initial_state(
----------
initial_value : float
Target initial value.
If integer, interpreted as SOC, must be between 0 and 1.
If float, interpreted as SOC, must be between 0 and 1.
If string e.g. "4 V", interpreted as voltage, must be between V_min and V_max.
parameter_values : :class:`pybamm.ParameterValues`
The parameter values class that will be used for the simulation. Required for
Expand Down

0 comments on commit 676e7ed

Please sign in to comment.