Skip to content

Commit f9eab21

Browse files
committed
fix linting
1 parent 705a30f commit f9eab21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/adam_assist/propagator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import hashlib
22
import random
33
from ctypes import c_uint32
4-
from typing import Any, Dict, List, Optional, Tuple, Union
4+
from typing import Any, Dict, List, Tuple, Union
55

66
import assist
77
import numpy as np
@@ -557,7 +557,7 @@ def _detect_collisions(
557557
particle_ids = np.array(particle_ids, dtype="object")
558558

559559
orbit_id_mapping, uint_orbit_ids = hash_orbit_ids_to_uint32(particle_ids)
560-
hash_to_index = {uint_orbit_ids[i].value: i for i in range(len(uint_orbit_ids))}
560+
{uint_orbit_ids[i].value: i for i in range(len(uint_orbit_ids))}
561561

562562
# Add the orbits as particles to the simulation
563563
# OPTIMIZED: Use direct array access instead of DataFrame conversion

0 commit comments

Comments
 (0)