Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Linde committed Jan 7, 2025
1 parent 5666fc7 commit e3cbab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgym/envs/routing/routing_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def obtain_observation(
is_legal_surpass = np.fromiter(
iter=starmap(self.is_legal_surpass, interaction_gates_ahead),
count=len(interaction_gates_ahead),
dtype=np.int8,
dtype=np.int_,
)
observation["is_legal_surpass"] = is_legal_surpass

Expand Down

0 comments on commit e3cbab1

Please sign in to comment.