Skip to content

Commit

Permalink
fix #14441
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 29, 2024
1 parent efa9d51 commit 1ce6d59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libsumo/Vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,9 @@ Vehicle::setStopParameter(const std::string& vehID, int nextStopIndex,
} else if (param == toString(SUMO_ATTR_ONDEMAND)) {
pars.onDemand = StringUtils::toBool(value);
pars.parametersSet |= STOP_ONDEMAND_SET;
} else if (param == toString(SUMO_ATTR_JUMP)) {
pars.jump = string2time(value);
pars.parametersSet |= STOP_JUMP_SET;
} else {
throw ProcessError(TLF("Unsupported parameter '%'", param));
}
Expand Down

0 comments on commit 1ce6d59

Please sign in to comment.