There is a genuine indexing defect in the printed PDF: its new value is at , while every old-time coefficient is centered at . On a fixed grid the literal residual contains
For a general solution the leading term is , so this is not a consistent diffusion discretization. It also leaves one new interior value unspecified while imposing a generally incompatible update on a prescribed boundary value. The calculation that follows is for the intended same-node update ; that correction is necessary, not an unnoticed transcription change.
For the midpoint flux stencil for one-dimensional diffusion, define
Assume sufficient smoothness of and the solution for the displayed remainders. Multiplying the centered Taylor expansions of and gives
The first time difference is . After using the diffusion equation, the normalized local truncation error is
Therefore, for the corrected update,
The first is the residual divided by the time step; the second is the unnormalized one-step defect. At fixed they are respectively and . A rate based on derivatives is not justified for a merely bounded nonsmooth .