Skip to content

Commit

Permalink
Update bool typing
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Dec 6, 2023
1 parent 458eeac commit 50aea06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/jaxsim/typing.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Any, Dict, Hashable, List, NamedTuple, Tuple, Union

import jax.numpy as jnp
import numpy as np
import numpy.typing as npt

# JAX types
Expand Down Expand Up @@ -35,6 +34,6 @@
Tensor = Union[npt.NDArray, ArrayJax]
Vector = Array
Matrix = Array
Bool = bool
Bool = Union[bool, ArrayJax]
Int = Union[int, IntJax]
Float = Union[float, FloatJax]

0 comments on commit 50aea06

Please sign in to comment.