Skip to content

Commit 620bc55

Browse files
committed
Bugfix in py_eddy_tracker_classes.py
1 parent 146e4cd commit 620bc55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py_eddy_tracker_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def get_uavg(Eddy, CS, collind, centlon_e, centlat_e, poly_eff,
461461
Eddy.swirl.set_nearest_contour_index(centlon_e, centlat_e)
462462
theindex = Eddy.swirl.get_index_nearest_path()
463463

464-
if theindex:
464+
if theindex is not False:
465465

466466
poly_i = CS.collections[citer.index].get_paths()[theindex]
467467

0 commit comments

Comments
 (0)