Skip to content

Commit

Permalink
Fixed bug in transform method of Atom (dot product order).
Browse files Browse the repository at this point in the history
  • Loading branch information
benreynwar committed Aug 18, 2011
1 parent 3959826 commit 346df8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bio/PDB/Atom.py
Expand Up @@ -274,7 +274,7 @@ def transform(self, rot, tran):
@param tran: the translation vector
@type tran: size 3 Numeric array
"""
self.coord=numpy.dot(self.coord, rot)+tran
self.coord=numpy.dot(rot, self.coord)+tran

def get_vector(self):
"""
Expand Down

0 comments on commit 346df8f

Please sign in to comment.