return was missing

This commit is contained in:
Martin Diehl 2022-11-24 10:15:23 +01:00
parent 19fbfb0968
commit eea0c4c44c
1 changed files with 4 additions and 0 deletions

View File

@ -879,6 +879,10 @@ class Rotation:
reciprocal : bool, optional
Basis vectors are given in reciprocal (instead of real) space. Defaults to False.
Returns
-------
new : damask.Rotation
"""
om = np.array(basis,dtype=float)
if om.shape[-2:] != (3,3): raise ValueError('invalid shape')