minor type adjustment to rotation module removed superfluous Sequence type from orientation module

This commit is contained in:
Daniel Otto de Mentock 2022-01-14 14:55:08 +01:00
parent aabeee9de1
commit 25513d572b
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ from . import Crystal
from . import util
from . import tensor
from typing import Union, Callable, Sequence, Dict, Any, Tuple, List
from typing import Union, Callable, Dict, Any, Tuple, List
from ._typehints import FloatSequence, IntSequence

View File

@ -535,7 +535,7 @@ class Rotation:
def as_axis_angle(self,
degrees: bool = False,
pair: bool = False) -> Union[Tuple[float, ...], np.ndarray]:
pair: bool = False) -> Union[Tuple[np.ndarray, np.ndarray], np.ndarray]:
"""
Represent as axisangle pair.