fix parenthesis
This commit is contained in:
parent
5d90157b42
commit
c681401e5d
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ public class WaypointHelper {
|
|||
// Check if stop has directional info
|
||||
if (info != null && info.getType() != null && info.getType() == AlarmInfoType.STOP) {
|
||||
// TODO: better than bearingVsRouteDirection would be routeVsWayDirection analysis
|
||||
if (ro.isStopForward(ro.bearingVsRouteDirection(loc) == -1)) {
|
||||
if (ro.isStopForward(ro.bearingVsRouteDirection(loc)) == -1) {
|
||||
info = null;
|
||||
}
|
||||
// TODO: Could add some analysis here if a stop without directional tagging is shortly _behind_ an intersection
|
||||
|
|
Loading…
Reference in a new issue