Skip to content

Commit

Permalink
tripbased: fix interval in routing response (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohoch authored Mar 2, 2022
1 parent 417149a commit 8e54361
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/tripbased/src/tripbased.cc
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ struct tripbased::impl {
return !in_interval(j, q.interval_begin_, q.interval_end_);
});
results_outside_of_interval = results_before - res.journeys_.size();
res.interval_begin_ = q.interval_begin_;
res.interval_end_ = q.interval_end_;
}

for (auto& tbs : tb_stats) {
Expand Down

0 comments on commit 8e54361

Please sign in to comment.