Skip to content

Commit 55a6350

Browse files
committed
associate with patterns at to-stop, not from-stop
1 parent 18f1f14 commit 55a6350

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/conveyal/r5/transit/GtfsTransferLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public void loadTransfersTxt (GTFSFeed feed, TObjectIntMap<String> indexForUnsco
111111
if (transferConfig == STOP_PAIR) {
112112
stopPairsWithTransfers.add(new StopPair(from, to));
113113
} else if (transferConfig == STOP_TO_PATTERN) {
114-
TIntList patterns = transit.patternsForStop.get(from);
114+
TIntList patterns = transit.patternsForStop.get(to);
115115
stopAndPatternPairsWithTransfers.putAll(from, patterns);
116116
}
117117
nValidAndLoaded += 1;

0 commit comments

Comments
 (0)