diff --git a/anyway/widgets/road_segment_widgets/head_on_collisions_comparison_widget.py b/anyway/widgets/road_segment_widgets/head_on_collisions_comparison_widget.py index d7c92796..0aca0a76 100644 --- a/anyway/widgets/road_segment_widgets/head_on_collisions_comparison_widget.py +++ b/anyway/widgets/road_segment_widgets/head_on_collisions_comparison_widget.py @@ -117,7 +117,7 @@ def is_included(self) -> bool: else: raise ValueError all_total = all_h2h + all_others # pylint: disable=E0606 - return segment_h2h > 1 and (segment_h2h / segment_total) > all_h2h / all_total + return segment_h2h > 1 and (segment_h2h / segment_total) > 2 * all_h2h / all_total # adding calls to _() for pybabel extraction