added type:ignore statements to Tuple Supportsindex addition in Orientation.disorientation function
This commit is contained in:
parent
9dad54304c
commit
7a405125da
|
@ -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_
|
||||
|
||||
|
|
Loading…
Reference in New Issue