return was missing
This commit is contained in:
parent
19fbfb0968
commit
eea0c4c44c
|
@ -879,6 +879,10 @@ class Rotation:
|
||||||
reciprocal : bool, optional
|
reciprocal : bool, optional
|
||||||
Basis vectors are given in reciprocal (instead of real) space. Defaults to False.
|
Basis vectors are given in reciprocal (instead of real) space. Defaults to False.
|
||||||
|
|
||||||
|
Returns
|
||||||
|
-------
|
||||||
|
new : damask.Rotation
|
||||||
|
|
||||||
"""
|
"""
|
||||||
om = np.array(basis,dtype=float)
|
om = np.array(basis,dtype=float)
|
||||||
if om.shape[-2:] != (3,3): raise ValueError('invalid shape')
|
if om.shape[-2:] != (3,3): raise ValueError('invalid shape')
|
||||||
|
|
Loading…
Reference in New Issue