Skip to content

Commit

Permalink
CORE: fix kn loop coverity (openucx#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimmybalsam authored and janjust committed Jan 31, 2024
1 parent 06fffb8 commit 223a329
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coll_patterns/recursive_knomial.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ static inline ucc_rank_t ucc_kn_get_opt_radix(ucc_rank_t team_size,
ucc_rank_t n_extra = 0, min_val = team_size;
ucc_kn_radix_t min_i = UCC_KN_MIN_RADIX;
ucc_kn_radix_t max_r = ucc_max(max_radix, UCC_KN_MIN_RADIX);
ucc_kn_radix_t r, fs;
ucc_kn_radix_t r;
ucc_rank_t fs;

for (r = UCC_KN_MIN_RADIX; r <= max_r; r++) {
fs = r;
Expand Down

0 comments on commit 223a329

Please sign in to comment.