Incorrect indexes fixed.

This commit is contained in:
mlemanczyk committed 2023-01-31 20:22:04 +01:00
1 parent 30c9a6cedc
commit 55dc1459c7
1 file changed
+2 -2
+2 -2
View File
@@ -426,8 +426,8 @@ namespace Recyclable.Collections
} }
} }
_longCount = targetItemIdx; _longCount = targetBlockIdx * blockSize + targetItemIdx;
_lastBlockIndex = targetBlockIdx - 1; _lastBlockIndex = targetBlockIdx;
_lastItemIndex = targetItemIdx; _lastItemIndex = targetItemIdx;
return; return;
} }