diff --git a/weldx/tests/transformations/test_cs_manager.py b/weldx/tests/transformations/test_cs_manager.py index 8e4d47d9b..1e1ef615c 100644 --- a/weldx/tests/transformations/test_cs_manager.py +++ b/weldx/tests/transformations/test_cs_manager.py @@ -2751,7 +2751,7 @@ def test_coordinate_system_manager_create_coordinate_system(): transformation_matrix = np.resize(np.identity(4), (4, 4, 4)) transformation_matrix[:, :3, :3] = orientations - transformation_matrix[:, :3, :] = coords.m + transformation_matrix[:, :3, 3] = coords.m csm = tf.CoordinateSystemManager("root") lcs_default = tf.LocalCoordinateSystem() diff --git a/weldx/transformations/types.py b/weldx/transformations/types.py index 736ba1727..668bc6bd7 100644 --- a/weldx/transformations/types.py +++ b/weldx/transformations/types.py @@ -9,7 +9,7 @@ types_coordinates = Union[xr.DataArray, npt.ArrayLike, pint.Quantity] types_orientation = Union[xr.DataArray, npt.ArrayLike, Rotation] -types_homogeneous = npt.ArrayLike +types_homogeneous = Union[xr.DataArray, npt.ArrayLike] __all__ = [