added type:ignore statements to Tuple Supportsindex addition in Orientation.disorientation function

This commit is contained in:
Daniel Otto de Mentock 2022-02-04 10:57:24 +01:00
parent 9dad54304c
commit 7a405125da
1 changed files with 2 additions and 2 deletions

View File

@ -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_