Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BepuUtilities/Collections/LSBRadixSort.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static void Sort<TValue>(ref Buffer<int> inputKeys, ref Buffer<TValue> in
//Note that we require the scratch and input spans to contain the offset region. That's because the output could be either the scratch or the input spans.
Debug.Assert(
inputKeys.Length >= startIndex + count && inputValues.Length >= startIndex + count &&
inputKeys.Length >= startIndex + count && inputValues.Length >= startIndex + count,
scratchKeys.Length >= startIndex + count && scratchValues.Length >= startIndex + count,
"The spans must be able to hold the sort region.");
#if DEBUG
for (int i = startIndex; i < startIndex + count; ++i)
Expand Down