Skip to content

Commit

Permalink
stamping out this dep warning too
Browse files Browse the repository at this point in the history
  • Loading branch information
jlnav committed Jul 3, 2023
1 parent e4703c1 commit d5c38a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libensemble/resources/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def assign_team_from_slots(self, slots_avail_by_group, cand_groups, cand_slots,
break
group = self.resources.rsets["group"] == grp
slot = self.resources.rsets["slot"] == slot
rset = int(np.where(group & slot)[0])
rset = np.nonzero(group & slot)[0][0]
rset_team.append(rset)
return sorted(rset_team)

Expand Down

0 comments on commit d5c38a0

Please sign in to comment.