Skip to content

Commit

Permalink
docs: fix math syntax in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Oct 8, 2024
1 parent 86f9f56 commit 7fc7fcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pybamm/expression_tree/discrete_time_sum.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class DiscreteTimeSum(pybamm.UnaryOperator):
"""
A node in the expression tree representing a discrete time sum operator.
\sum_{i=0}^{N} f(y(t_i), t_i)
.. math::
\\sum_{i=0}^{N} f(y(t_i), t_i)
where f is the expression given by the child, and the sum is over the discrete
time points t_i. The set of time points is given by the :class:`pybamm.DiscreteTimeData` node,
Expand Down

0 comments on commit 7fc7fcd

Please sign in to comment.