From d3eba4151966f3132aacc9f30f3c58e1b40282db Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Tue, 14 Apr 2020 12:21:35 -0400 Subject: [PATCH] [skip ci] fixed bug of double execution of np.degrees in asAxisAngle --- python/damask/_rotation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/_rotation.py b/python/damask/_rotation.py index bea7aa5e6..ff4025ddc 100644 --- a/python/damask/_rotation.py +++ b/python/damask/_rotation.py @@ -206,7 +206,7 @@ class Rotation: """ ax = Rotation.qu2ax(self.quaternion) if degrees: ax[3] = np.degrees(ax[3]) - return (ax[:3],np.degrees(ax[3])) if pair else ax + return (ax[:3],ax[3]) if pair else ax def asMatrix(self): """Rotation matrix."""