Dylan Uys

Results 2 issues of Dylan Uys

This is a bugfix for #93 (issue provides a detailed description of where and how the bug occurs) The edge case occurs when there is only a single non-zero weight...

Edge case in weight setting that only occurs when there's a single non-zero weight: - In `weight_utils.process_weights_for_netuid `, non-zero weight indices are extracted by calling `np.argwhere(weights > 0).squeeze()`. (line 142)...