Skip to content

Commit

Permalink
Merge pull request #220 from SANDAG/ff_maxdist
Browse files Browse the repository at this point in the history
Fix max distance calculation in TravelTimeReporter.py
  • Loading branch information
bhargavasana authored Oct 19, 2024
2 parents 3a6232f + 96bad11 commit 167ccc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/TravelTimeReporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def get_ff_time(self, nev = False):

# Create Boolean matrix that is True if the flexible fleets service is available for the OD pair and False if it is not
available = pd.DataFrame(
(orig_service > 0) & (orig_service == dest_service) & (self.skims["HOV3_M_TIME__" + self.settings["time_period"]] < self.constants[flavor + "MaxDist"]),
(orig_service > 0) & (orig_service == dest_service) & (self.skims["HOV3_M_DIST__" + self.settings["time_period"]] < self.constants[flavor + "MaxDist"]),
self.land_use.index,
self.land_use.index
)
Expand Down

0 comments on commit 167ccc9

Please sign in to comment.