Skip to content

Commit

Permalink
Updating plotting smoothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulvetanna committed May 22, 2024
1 parent 6eb227e commit c8ef09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polar_route/crossing_smoothing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ def blocked(self,new_cell,cell_a,cell_b):

percentage_diff1 = (max_new-start)*100
percentage_diff2 = (max_new-end)*100
if (percentage_diff1 <= self.blocked_sic*start) or (percentage_diff2 <= self.blocked_sic*end):
if (percentage_diff1 <= self.blocked_sic*start) or (percentage_diff2 <= self.blocked_sic*end) or max_new<=self.blocked_sic:
return False
else:
return True
Expand Down

0 comments on commit c8ef09c

Please sign in to comment.