Permalink
Browse files

Update sympy/physics/mechanics/essential.py

  • Loading branch information...
tsmars15
tsmars15 committed Nov 30, 2011
1 parent dec1ac7 commit 6639d07a080229b2b7080db1951267e1922c9ff8
Showing with 2 additions and 2 deletions.
  1. +2 −2 sympy/physics/mechanics/essential.py
@@ -916,7 +916,7 @@ def _rot(axis, angle):
wvec = thetad * amounts[1].express(parent).normalize()
else:
try:
- from sympy.polys.polyerrors import CoercionFailed,FlagError
+ from sympy.polys.polyerrors import CoercionFailed
from sympy.physics.mechanics.functions import kinematic_equations
q1, q2, q3 = amounts
u1, u2, u3 = dynamicsymbols('u1, u2, u3')
@@ -928,7 +928,7 @@ def _rot(axis, angle):
u2 = expand(td[u2])
u3 = expand(td[u3])
wvec = u1 * self.x + u2 * self.y + u3 * self.z
- except (CoercionFailed,AssertionError):
+ except (CoercionFailed, AssertionError):
wvec = self._w_diff_dcm(parent)
self._ang_vel_dict.update({parent: wvec})
parent._ang_vel_dict.update({self: -wvec})

0 comments on commit 6639d07

Please sign in to comment.