Skip to content

Commit

Permalink
update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoming0625 committed Jun 12, 2024
1 parent 16d4a27 commit 7ee0d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainunit/math/_compat_numpy_array_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def zeros_like(a: Union[Quantity, jax.typing.ArrayLike],

@set_module_as('brainunit.math')
def asarray(
a: Union[Quantity, jax.typing.ArrayLike, Sequence[Quantity]],
a: Union[Quantity, jax.typing.ArrayLike, Sequence[Quantity], Sequence[jax.typing.ArrayLike]],
dtype: Optional[jax.typing.DTypeLike] = None,
order: Optional[str] = None,
unit: Optional[Unit] = None,
Expand Down

0 comments on commit 7ee0d89

Please sign in to comment.