Skip to content

Commit

Permalink
fix(transfers): don't bail out at stop 0
Browse files Browse the repository at this point in the history
Fixes #636
cherry-picked in from broader PR#637
gradle version hard-coded to bugfix v6.0.1
  • Loading branch information
ansoncfit authored and abyrd committed Oct 22, 2020
1 parent 06bc4d3 commit 478a19b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

group = 'com.conveyal'
// set version to `git describe --tags --always --first-parent`, plus '.dirty' if local changes are present.
version 'v6.0.0'
version 'v6.0.1'

java {
sourceCompatibility = JavaVersion.VERSION_11
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ private void doTransfers (RaptorState state) {
// Compute transfers only from stops updated pre-transfer within this departure minute / randomized schedule.
// These transfers then update the post-transfers bitset to avoid concurrent modification while iterating.
for (int stop = state.nonTransferStopsUpdated.nextSetBit(0);
stop > 0;
stop > -1;
stop = state.nonTransferStopsUpdated.nextSetBit(stop + 1)
) {
TIntList transfersFromStop = transit.transfersForStop.get(stop);
Expand Down

0 comments on commit 478a19b

Please sign in to comment.