Skip to content

Commit de6d0ef

Browse files
committed
Revert "fixing disaggregate accessibility bug in zone sampler"
This reverts commit be5d093.
1 parent be5d093 commit de6d0ef

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

activitysim/abm/models/disaggregate_accessibility.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,10 +435,6 @@ def zone_sampler(self):
435435
maz_candidates = maz_candidates[
436436
~maz_candidates.MAZ.isin(maz_sample_idx)
437437
]
438-
439-
# Need to make sure we sample from TAZs that still exist in the maz_candidates
440-
taz_candidates = taz_candidates[taz_candidates.index.isin(maz_candidates.TAZ)]
441-
442438
# Calculate the remaining samples to collect
443439
n_samples_remaining = n_samples - len(maz_sample_idx)
444440
n_samples_remaining = (

0 commit comments

Comments
 (0)