You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function that assigns sequences to candidates will try to work out how many characters are needed as ceil(log(#candidates)/log(#chars)) but if #candidates = 1, it’s logarithm is 0 and the function will later fail.
One fix would be to clamp this value with a lower bound of 1.
Another may be to use a different candidate-display function if there is a single candidate.
The text was updated successfully, but these errors were encountered:
The function that assigns sequences to candidates will try to work out how many characters are needed as
ceil(log(#candidates)/log(#chars))
but if #candidates = 1, it’s logarithm is 0 and the function will later fail.One fix would be to clamp this value with a lower bound of 1.
Another may be to use a different candidate-display function if there is a single candidate.
The text was updated successfully, but these errors were encountered: