Skip to content

Commit d2e7e6e

Browse files
committed
improve comment description
1 parent ce33f1a commit d2e7e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extractor/graph_compressor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void GraphCompressor::Compress(
206206
graph.GetEdgeData(reverse_e2).annotation_data = selectAnnotation(
207207
rev_edge_data2.annotation_data, rev_edge_data1.annotation_data);
208208

209-
// add node penalty when compress edge if it crosses a traffic signal.
209+
// Add node penalty when compress edge crosses a traffic signal
210210
const bool has_node_penalty = traffic_signals.find(node_v) != traffic_signals.end();
211211
EdgeDuration node_duration_penalty = MAXIMAL_EDGE_DURATION;
212212
EdgeWeight node_weight_penalty = INVALID_EDGE_WEIGHT;

0 commit comments

Comments
 (0)