Skip to content

Commit

Permalink
changed npt.ArrayLike to np.ndarray for homogeneous transformation ma…
Browse files Browse the repository at this point in the history
…trices
  • Loading branch information
mbwinkler committed Nov 6, 2024
1 parent 1a71dfc commit 8d60423
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion weldx/transformations/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

from typing import Union

import numpy as np
import numpy.typing as npt
import pint
import xarray as xr
from scipy.spatial.transform import Rotation

types_coordinates = Union[xr.DataArray, npt.ArrayLike, pint.Quantity]
types_orientation = Union[xr.DataArray, npt.ArrayLike, Rotation]
types_homogeneous = Union[xr.DataArray, npt.ArrayLike]
types_homogeneous = Union[xr.DataArray, np.ndarray]


__all__ = [
Expand Down

0 comments on commit 8d60423

Please sign in to comment.