Skip to content

Commit

Permalink
Fixed minor parsing error. Refs #2956
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk@23762 afbd958f-9f77-42d5-a016-97a22340ccf4
  • Loading branch information
palvarezlopez committed Apr 1, 2017
1 parent 274d02f commit ed12814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sumo/src/netedit/GNEConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ GNEConnection::isValid(SumoXMLAttr key, const std::string& value) {
case SUMO_ATTR_CONTPOS:
return canParse<double>(value);
case SUMO_ATTR_UNCONTROLLED:
return canParse<double>(value);
return canParse<bool>(value);
case SUMO_ATTR_VISIBILITY_DISTANCE:
return isPositive<double>(value);
default:
Expand Down

0 comments on commit ed12814

Please sign in to comment.