Yeah. You can see the error appear on the previous line, where the x - (...) from the line before that is expanded wrong. Note that the same typo appears in the formula for KF's measurement update in the slide at 31:00, but the code at 32:47 has it right with (I - K*C).