Revert "Enable transit line penalties also when no explicit line was given"
This reverts commit f813c1f842.
This commit is contained in:
parent
b0eb6186f7
commit
3abb554585
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ EdgeCost CostFunc::operator()(const trgraph::Edge* from, const trgraph::Node* n,
|
|||
// _____________________________________________________________________________
|
||||
double CostFunc::transitLineCmp(const trgraph::EdgePL& e) const {
|
||||
if (_rAttrs.shortName.empty() && _rAttrs.toString.empty() &&
|
||||
_rAttrs.fromString.empty() && !e.getLines().empty())
|
||||
_rAttrs.fromString.empty())
|
||||
return 0;
|
||||
double best = 1;
|
||||
for (const auto* l : e.getLines()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue