abrensch / brouter

configurable OSM offline router with elevation awareness, Java + Android
MIT License
490 stars 118 forks source link

Fix priorityclassifier initialization #503

Closed quaelnix closed 1 year ago

quaelnix commented 1 year ago

The correct initialization of the priorityclassifier used to be skipped unless the KinematicModel was selected, which only happens in the car profiles. This resulted in the lastpriorityclassifier always being zero in both foot and bicycle profiles.

This is a non-functional change, as the lastpriorityclassifier is not currently used in either the foot or bicycle profiles.