[openlr] Always evaluate FRC and FOW, regardless of LinearSegment source

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-05-08 22:39:47 +03:00
parent 24d65bd37f
commit dbf253c9d1
2 changed files with 3 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ optional<Score> GetFrcScore(Graph::Edge const & e, FunctionalRoadClass functiona
Score constexpr kMaxScoreForFrc = 25;
if (functionalRoadClass == FunctionalRoadClass::NotAValue)
return nullopt;
return optional<Score>(0);
auto const hwClass = infoGetter.Get(e.GetFeatureId()).m_hwClass;