remove debug print

This commit is contained in:
Philip Eisenlohr 2023-10-04 10:29:55 -04:00
parent 550c757cdc
commit afe2094c65
1 changed files with 1 additions and 2 deletions

View File

@ -112,7 +112,7 @@ class Rotation:
def __getitem__(self, def __getitem__(self,
item: Union[Tuple[int], int, bool, np.bool_, np.ndarray]): item: Union[Tuple[Union[None, int, slice, ellipsis]], int, bool, np.bool_, np.ndarray]):
""" """
Return self[item]. Return self[item].
@ -445,7 +445,6 @@ class Rotation:
obs = util.shapeblender(self.shape,other.shape)[len(self.shape):] obs = util.shapeblender(self.shape,other.shape)[len(self.shape):]
for l in [4,2,1]: for l in [4,2,1]:
if obs[-l:] == l*(3,): if obs[-l:] == l*(3,):
print(f'rotate {l}')
bs = util.shapeblender(self.shape,other.shape[:-l],False) bs = util.shapeblender(self.shape,other.shape[:-l],False)
self_ = self.broadcast_to(bs) if self.shape != bs else self self_ = self.broadcast_to(bs) if self.shape != bs else self
if l==1: if l==1: