Skip to content

Commit

Permalink
Update group_id datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
SebsCubs authored Nov 15, 2024
1 parent aef6f14 commit baa38c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twin4build/utils/input_output_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def initialize(self) -> None:
"""
self.array = np.zeros(self.size)
self.current_idx = 0
id_array = np.empty(self.size, dtype=int)
id_array = np.empty(self.size, dtype=np.int64)
for idx, group_id in self.id_map.items():
id_array[idx] = group_id
self.sorted_id_indices = np.argsort(id_array)
Expand Down

0 comments on commit baa38c5

Please sign in to comment.