Skip to content

Commit

Permalink
warn about ignored internal lanes with meso, refs eclipse-sumo#7698
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Oct 16, 2020
1 parent a3ce37e commit c96f6ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netload/NLBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ NLBuilder::build() {
throw ProcessError("Invalid network, no network version declared.");
}
// check whether the loaded net agrees with the simulation options
if (myOptions.getBool("no-internal-links") && myXMLHandler.haveSeenInternalEdge() && myXMLHandler.haveSeenDefaultLength()) {
WRITE_WARNING("Network contains internal links but option --no-internal-links is set. Vehicles will 'jump' across junctions and thus underestimate route lengths and travel times.");
if ((myOptions.getBool("no-internal-links") || myOptions.getBool("mesosim")) && myXMLHandler.haveSeenInternalEdge() && myXMLHandler.haveSeenDefaultLength()) {
WRITE_WARNING("Network contains internal links which are ignored. Vehicles will 'jump' across junctions and thus underestimate route lengths and travel times.");
}
buildNet();
// @note on loading order constraints:
Expand Down

0 comments on commit c96f6ca

Please sign in to comment.