Skip to content

Commit

Permalink
change obsolete numpy np.float_ to np.double
Browse files Browse the repository at this point in the history
  • Loading branch information
lyg1597 committed Dec 28, 2024
1 parent 85a22c7 commit 31afdb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion verse/analysis/analysis_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from verse.analysis.dryvr import _EPSILON
from verse.agents.base_agent import BaseAgent

TraceType = nptyp.NDArray[np.float_]
TraceType = nptyp.NDArray[np.double]

_T = TypeVar("_T")

Expand Down
4 changes: 2 additions & 2 deletions verse/analysis/incremental.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CachedTransition:

@dataclass
class CachedSegment:
trace: nptyp.NDArray[np.float_]
trace: nptyp.NDArray[np.double]
asserts: List[str]
transitions: List[CachedTransition]
node_ids: Set[Tuple[int, int]]
Expand Down Expand Up @@ -173,7 +173,7 @@ def add_segment(
agent_id: str,
node: AnalysisTreeNode,
transit_agents: List[str],
trace: nptyp.NDArray[np.float_],
trace: nptyp.NDArray[np.double],
transition,
trans_ind: int,
run_num: int,
Expand Down

0 comments on commit 31afdb3

Please sign in to comment.