Skip to content

Commit 8d60423

Browse files
committed
changed npt.ArrayLike to np.ndarray for homogeneous transformation matrices
1 parent 1a71dfc commit 8d60423

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

weldx/transformations/types.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
from typing import Union
44

5+
import numpy as np
56
import numpy.typing as npt
67
import pint
78
import xarray as xr
89
from scipy.spatial.transform import Rotation
910

1011
types_coordinates = Union[xr.DataArray, npt.ArrayLike, pint.Quantity]
1112
types_orientation = Union[xr.DataArray, npt.ArrayLike, Rotation]
12-
types_homogeneous = Union[xr.DataArray, npt.ArrayLike]
13+
types_homogeneous = Union[xr.DataArray, np.ndarray]
1314

1415

1516
__all__ = [

0 commit comments

Comments
 (0)