Skip to content

Commit

Permalink
fix: Fixing flake8 suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
gitaroktato committed Apr 9, 2024
1 parent e7805f2 commit 78a0d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def process(self):
def __process_arrival_times(self):
self.__arrival_times = np.copy(self.__inter_arrival_times)
for index, value in enumerate(self.__arrival_times):
if index is not 0:
if index != 0:
self.__arrival_times[index] += self.__arrival_times[index-1]

def __process_departure_times(self):
Expand Down

0 comments on commit 78a0d23

Please sign in to comment.