Skip to content

Commit

Permalink
Apply commenting from code review
Browse files Browse the repository at this point in the history
Adds additional clarification to more obscure functions/inputs.
  • Loading branch information
jatkinson1000 authored Jan 25, 2025
1 parent 8988c86 commit e152652
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion archeryutils/classifications/agb_outdoor_classifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def _assign_min_dist(
Returns
-------
min_dists : array of int
minimum distance [m] required for this category
minimum distance [m] required for this category for each classification (EMB -> A3)
References
----------
Expand Down Expand Up @@ -189,6 +189,7 @@ def _assign_min_dist(
else:
idxs = np.array([0, 0, 0, 0, 0, 1, 2, 3, 4])

# Extract the relevant distances for each classification from the dists array and return
return np.take(dists, idxs + max_dist_index, mode="clip")


Expand Down

0 comments on commit e152652

Please sign in to comment.