diff --git a/src/pybamm/expression_tree/discrete_time_sum.py b/src/pybamm/expression_tree/discrete_time_sum.py index 7a5c63b627..41cd14960d 100644 --- a/src/pybamm/expression_tree/discrete_time_sum.py +++ b/src/pybamm/expression_tree/discrete_time_sum.py @@ -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,