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;
|
_longCount = targetBlockIdx * blockSize + targetItemIdx;
|
||||||
_lastBlockIndex = targetBlockIdx - 1;
|
_lastBlockIndex = targetBlockIdx;
|
||||||
_lastItemIndex = targetItemIdx;
|
_lastItemIndex = targetItemIdx;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user