sympy/sympy — pull request #2653 by jgoppert (2013-12-06 01:38:49+00:00)
Title: Lagrange method couldn't handle moments due to missing elif.

This looks like a simple typo and it was giving me headaches when trying to get the lagrange method working on a segway physics model.