Incorrect indexes fixed.
This commit is contained in:
1 parent
30c9a6cedc
commit
55dc1459c7
1 file changed
+2
-2
@@ -426,8 +426,8 @@ namespace Recyclable.Collections
|
||||
}
|
||||
}
|
||||
|
||||
_longCount = targetItemIdx;
|
||||
_lastBlockIndex = targetBlockIdx - 1;
|
||||
_longCount = targetBlockIdx * blockSize + targetItemIdx;
|
||||
_lastBlockIndex = targetBlockIdx;
|
||||
_lastItemIndex = targetItemIdx;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user