Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update sympy/physics/mechanics/essential.py

  • Loading branch information...
commit 6639d07a080229b2b7080db1951267e1922c9ff8 1 parent dec1ac7
authored November 30, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  sympy/physics/mechanics/essential.py
4  sympy/physics/mechanics/essential.py
@@ -916,7 +916,7 @@ def _rot(axis, angle):
916 916
             wvec = thetad * amounts[1].express(parent).normalize()
917 917
         else:
918 918
             try:
919  
-                from sympy.polys.polyerrors import CoercionFailed,FlagError
  919
+                from sympy.polys.polyerrors import CoercionFailed
920 920
                 from sympy.physics.mechanics.functions import kinematic_equations
921 921
                 q1, q2, q3 = amounts
922 922
                 u1, u2, u3 = dynamicsymbols('u1, u2, u3')
@@ -928,7 +928,7 @@ def _rot(axis, angle):
928 928
                 u2 = expand(td[u2])
929 929
                 u3 = expand(td[u3])
930 930
                 wvec = u1 * self.x + u2 * self.y + u3 * self.z
931  
-            except (CoercionFailed,AssertionError):
  931
+            except (CoercionFailed, AssertionError):
932 932
                 wvec = self._w_diff_dcm(parent)
933 933
         self._ang_vel_dict.update({parent: wvec})
934 934
         parent._ang_vel_dict.update({self: -wvec})

0 notes on commit 6639d07

Please sign in to comment.
Something went wrong with that request. Please try again.