From eea0c4c44cecb0cbdb49ffb01c2c41f99c386843 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 24 Nov 2022 10:15:23 +0100 Subject: [PATCH] return was missing --- python/damask/_rotation.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/damask/_rotation.py b/python/damask/_rotation.py index 07eb25803..d9d6fbbcb 100644 --- a/python/damask/_rotation.py +++ b/python/damask/_rotation.py @@ -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')