Skip to content

Commit

Permalink
Fix computation of accessibility score [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Jan 18, 2024
1 parent 5451b6d commit 88955a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static Float compute(List<Leg> legs) {

public static float compute(ScheduledTransitLeg leg) {
var fromStop = leg.getFrom().stop.getWheelchairAccessibility();
var toStop = leg.getFrom().stop.getWheelchairAccessibility();
var toStop = leg.getTo().stop.getWheelchairAccessibility();
var trip = leg.getTripWheelchairAccessibility();

var values = List.of(trip, fromStop, toStop);
Expand Down

0 comments on commit 88955a7

Please sign in to comment.