Skip to content

Commit

Permalink
convert to SUMOTime #12 #15622
Browse files Browse the repository at this point in the history
Signed-off-by: m-kro <[email protected]>
  • Loading branch information
m-kro committed Oct 28, 2024
1 parent aa5ae1b commit c97bcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microsim/devices/MSDevice_StationFinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ MSDevice_StationFinder::setParameter(const std::string& key, const std::string&
} else if (key == "repeat") {
myRepeatInterval = TIME2STEPS(MAX2(0., doubleValue));
} else if (key == "radius") {
myRadius = MAX2(0., doubleValue);
myRadius = TIME2STEPS(MAX2(0., doubleValue));
} else if (key == "reserveFactor") {
myReserveFactor = MAX2(1., doubleValue);
} else {
Expand Down

0 comments on commit c97bcde

Please sign in to comment.