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
In this case another slice (aggregatedSeries) is using for comparing values, but the Swap() function changes the original series slice, so algorithm does not work as expected. So the solution is either use series in comparison or fully implement sort interface (Len/Less/Swap methods).
Describe the bug
top()
function returns wrong set of series.Screenshots
Original set:
Returned by
top(5, max)
:Software versions
The text was updated successfully, but these errors were encountered: