From 7a405125daa7f29b3b9d13d7b5c1fdb59d435bfd Mon Sep 17 00:00:00 2001 From: Daniel Otto de Mentock Date: Fri, 4 Feb 2022 10:57:24 +0100 Subject: [PATCH] added type:ignore statements to Tuple Supportsindex addition in Orientation.disorientation function --- python/damask/_orientation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/damask/_orientation.py b/python/damask/_orientation.py index 2dedc13e4..4817ddb6f 100644 --- a/python/damask/_orientation.py +++ b/python/damask/_orientation.py @@ -562,8 +562,8 @@ class Orientation(Rotation,Crystal): s = self.equivalent o = other.equivalent - s_ = s.reshape((s.shape[0],1)+ self.shape).broadcast_to((s.shape[0],o.shape[0])+blend,mode='right') - o_ = o.reshape((1,o.shape[0])+other.shape).broadcast_to((s.shape[0],o.shape[0])+blend,mode='right') + s_ = s.reshape((s.shape[0],1)+ self.shape).broadcast_to((s.shape[0],o.shape[0])+blend,mode='right') #type: ignore + o_ = o.reshape((1,o.shape[0])+other.shape).broadcast_to((s.shape[0],o.shape[0])+blend,mode='right') #type: ignore r_ = s_.misorientation(o_) _r = ~r_