Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Sep 23, 2024
2 parents fc85d79 + a77cf6e commit f3e1e8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/netedit/elements/demand/GNEPersonTrip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,12 @@ GNEPersonTrip::getAttribute(SumoXMLAttr key) const {

double
GNEPersonTrip::getAttributeDouble(SumoXMLAttr key) const {
return getPlanAttributeDouble(key);
switch (key) {
case SUMO_ATTR_WALKFACTOR:
return myWalkFactor;
default:
return getPlanAttributeDouble(key);
}
}


Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
elements
elements

0 comments on commit f3e1e8c

Please sign in to comment.