fix python/damask/_orientation.py contains invalid python3 code

This commit is contained in:
f.basile 2020-06-04 16:44:57 +02:00
parent 3897136f85
commit 6a24aee171
1 changed files with 2 additions and 0 deletions

View File

@ -82,10 +82,12 @@ class Orientation:
def equivalent(self):
"""
List of orientations which are symmetrically equivalent.
Supported for multiple rotation with same lattice
Returns list [i] being i=range(24)
Returns list [i, num_rot] for multiple rotations
"""
if not self.rotation.shape:
return [self.__class__(q*self.rotation,self.lattice) \