From afe2094c65aa31ffaae83cfe6d975f725a7ce3dc Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Wed, 4 Oct 2023 10:29:55 -0400 Subject: [PATCH] remove debug print --- python/damask/_rotation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/damask/_rotation.py b/python/damask/_rotation.py index 21197f105..7286b3ecf 100644 --- a/python/damask/_rotation.py +++ b/python/damask/_rotation.py @@ -112,7 +112,7 @@ class Rotation: 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]. @@ -445,7 +445,6 @@ class Rotation: obs = util.shapeblender(self.shape,other.shape)[len(self.shape):] for l in [4,2,1]: if obs[-l:] == l*(3,): - print(f'rotate {l}') bs = util.shapeblender(self.shape,other.shape[:-l],False) self_ = self.broadcast_to(bs) if self.shape != bs else self if l==1: