Skip to content

Commit

Permalink
fixing setting of non-integer lane widths. refs #457
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk@19056 afbd958f-9f77-42d5-a016-97a22340ccf4
  • Loading branch information
namdre committed Oct 9, 2015
1 parent 553dc46 commit 41d1de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sumo/src/netedit/GNEEdge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ GNEEdge::setAttribute(SumoXMLAttr key, const std::string& value) {
myNBEdge.setSpeed(-1, parse<SUMOReal>(value));
break;
case SUMO_ATTR_WIDTH:
myNBEdge.setLaneWidth(-1, parse<unsigned int>(value));
myNBEdge.setLaneWidth(-1, parse<SUMOReal>(value));
break;
case SUMO_ATTR_ENDOFFSET:
myNBEdge.setEndOffset(-1, parse<unsigned int>(value));
Expand Down

0 comments on commit 41d1de4

Please sign in to comment.