Skip to content

Commit e82b51d

Browse files
TheMarexPatrick Niklaus
authored andcommitted
Fix default value for matching radius in routed
1 parent 5531cac commit e82b51d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/routed.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ inline unsigned generateServerProgramOptions(const int argc,
135135
value<int>(&config.max_alternatives)->default_value(3),
136136
"Max. number of alternatives supported in the MLD route query") //
137137
("max-matching-radius",
138-
value<double>(&config.max_radius_map_matching)->default_value(5),
139-
"Max. radius size supported in map matching query");
138+
value<double>(&config.max_radius_map_matching)->default_value(-1.0),
139+
"Max. radius size supported in map matching query. Default: unlimited.");
140140

141141
// hidden options, will be allowed on command line, but will not be shown to the user
142142
boost::program_options::options_description hidden_options("Hidden options");

0 commit comments

Comments
 (0)