-
Notifications
You must be signed in to change notification settings - Fork 344
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I think we can replace
with
P_ABBA = np.empty(2 * j, dtype=np.float64)
if k is None:
percentage = np.clip(percentage, 0.0, 1.0)
k = math.ceil(percentage * (2 * Q.shape[0])) # BECAUSE `P_ABBA.shape[0] == 2 * j`, see the first line
k = min(int(k), P_ABBA.shape[0] - 1)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request