Skip to content

Commit

Permalink
fix tiny molecule bug
Browse files Browse the repository at this point in the history
  • Loading branch information
qzhu2017 committed Oct 24, 2024
1 parent f1e222f commit c5af064
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyxtal/molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,10 @@ def change_orientation(self, angle="random", flip=False, update=True):
if update:
self.r = r
self.matrix = matrix
return matrix
return matrix
else:
return self.matrix


def set_axis(self):
if self.degrees == 2:
Expand Down

0 comments on commit c5af064

Please sign in to comment.