Skip to content

Commit

Permalink
wrong indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
mbwinkler committed Nov 5, 2024
1 parent fd0aa12 commit dcafa97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion weldx/tests/transformations/test_cs_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion weldx/transformations/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = [
Expand Down

0 comments on commit dcafa97

Please sign in to comment.