Skip to content
Snippets Groups Projects
Commit 599c4c23 authored by stepan's avatar stepan
Browse files

Fix: forgotten ProfiledCastNode in Quantifier

parent 74112e4c
No related branches found
No related tags found
No related merge requests found
......@@ -85,10 +85,10 @@ public abstract class Quantifier extends RBuiltinNode {
private void createArgCast(int index) {
// @formatter:off
argCastNodes[index] = insert(newCastBuilder().allowNull().
argCastNodes[index] = insert(new ProfileCastNode(newCastBuilder().allowNull().
shouldBe(integerValue().or(logicalValue()).or(instanceOf(RAbstractVector.class).and(size(0))),
RError.Message.COERCING_ARGUMENT, typeName(), "logical").
asLogicalVector().buildCastNode());
asLogicalVector().buildCastNode()));
// @formatter:on
}
......
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