We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9f1380 commit 679e245Copy full SHA for 679e245
1 file changed
rerun_py/rerun_sdk/rerun/log/__init__.py
@@ -35,10 +35,7 @@
35
36
37
def _to_sequence(array: Optional[npt.ArrayLike]) -> Optional[Sequence[float]]:
38
- if isinstance(array, np.ndarray):
39
- return np.require(array, float).tolist() # type: ignore[no-any-return]
40
-
41
- return array # type: ignore[return-value]
+ return np.require(array, float).tolist() # type: ignore[no-any-return]
42
43
44
def _normalize_colors(colors: Optional[Union[Color, Colors]] = None) -> npt.NDArray[np.uint8]:
0 commit comments