From e8464814ae295d430443cb030efbdf8385871258 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 18 Apr 2019 14:46:12 +0200 Subject: [PATCH] explicit is better than implicit - if the quaternion does not follow the convention, use "fromQuaternion(acceptHomomorph=True)" --- python/damask/orientation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/damask/orientation.py b/python/damask/orientation.py index c0c817ca6..b34875a1f 100644 --- a/python/damask/orientation.py +++ b/python/damask/orientation.py @@ -44,7 +44,6 @@ class Rotation: self.quaternion = quaternion.copy() else: self.quaternion = Quaternion(q=quaternion[0],p=quaternion[1:4]) - self.quaternion.homomorph() # ToDo: Needed? def __repr__(self): """Value in selected representation"""