@@ -83,12 +83,12 @@ impl CommuterPatterns {
8383 let mut trips_to_block: Vec < Vec < TripInfo > > = trips_from_block. clone ( ) ;
8484 for ( _, trip) in app. primary . sim . all_trip_info ( ) {
8585 let block1 = match trip. start {
86- TripEndpoint :: Bldg ( b) => bldg_to_block[ & b] ,
86+ TripEndpoint :: Building ( b) => bldg_to_block[ & b] ,
8787 TripEndpoint :: Border ( i) => border_to_block[ & i] ,
8888 TripEndpoint :: SuddenlyAppear ( _) => continue ,
8989 } ;
9090 let block2 = match trip. end {
91- TripEndpoint :: Bldg ( b) => bldg_to_block[ & b] ,
91+ TripEndpoint :: Building ( b) => bldg_to_block[ & b] ,
9292 TripEndpoint :: Border ( i) => border_to_block[ & i] ,
9393 TripEndpoint :: SuddenlyAppear ( _) => continue ,
9494 } ;
@@ -147,7 +147,7 @@ impl CommuterPatterns {
147147 }
148148 if self . filter . from_block {
149149 match trip. end {
150- TripEndpoint :: Bldg ( b) => {
150+ TripEndpoint :: Building ( b) => {
151151 count. inc ( self . bldg_to_block [ & b] ) ;
152152 }
153153 TripEndpoint :: Border ( i) => {
@@ -159,7 +159,7 @@ impl CommuterPatterns {
159159 }
160160 } else {
161161 match trip. start {
162- TripEndpoint :: Bldg ( b) => {
162+ TripEndpoint :: Building ( b) => {
163163 count. inc ( self . bldg_to_block [ & b] ) ;
164164 }
165165 TripEndpoint :: Border ( i) => {
0 commit comments