Skip to content
Snippets Groups Projects
Commit 36b1de0c authored by stepan's avatar stepan
Browse files

Fix incorrectly cached VectorAccess in FindInterval

parent b01f72f7
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ public abstract class FindInterval extends RBuiltinNode.Arg5 {
RAbstractIntVector doFindInterval(RAbstractDoubleVector xt, RAbstractDoubleVector x, boolean right, boolean inside, boolean leftOpen,
@Cached("createEqualityProfile()") ValueProfile leftOpenProfile,
@Cached("create(xt)") VectorAccess xtAccess,
@Cached("create(xt)") VectorAccess xAccess,
@Cached("create(x)") VectorAccess xAccess,
@Cached("create()") VectorFactory vectorFactory) {
boolean leftOpenProfiled = leftOpenProfile.profile(leftOpen);
try (SequentialIterator xIter = xAccess.access(x)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment