Skip to content

Commit

Permalink
Merge pull request #15 from hove-io/fix-crash-in-bss-matrix
Browse files Browse the repository at this point in the history
fix crash in bss matrix
  • Loading branch information
Patrick Qian authored Aug 9, 2023
2 parents d155df0 + 3adfe0c commit 2569087
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/thor/timedistancebssmatrix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ void TimeDistanceBSSMatrix::Expand(GraphReader& graphreader,
const DirectedEdge* opp_edge = nullptr;
if (!FORWARD) {
// Get opposing edge Id and end node tile
graph_tile_ptr t2 =
directededge->leaves_tile() ? graphreader.GetGraphTile(directededge->endnode()) : tile;
t2 = directededge->leaves_tile() ? graphreader.GetGraphTile(directededge->endnode()) : tile;
if (t2 == nullptr) {
continue;
}
Expand Down

0 comments on commit 2569087

Please sign in to comment.