Skip to content
Snippets Groups Projects
Commit 96bf971b authored by Mick Jordan's avatar Mick Jordan
Browse files

unique(NULL) specialization

parent b59a962e
Branches
No related tags found
No related merge requests found
......@@ -48,6 +48,12 @@ public abstract class Unique extends RBuiltinNode {
ConstantNode.create(RMissing.instance)};
}
@SuppressWarnings("unused")
@Specialization
public RNull doUnique(RNull vec, byte incomparables, byte fromLast, byte nmax, RMissing vararg) {
return vec;
}
@SuppressWarnings("unused")
@Specialization
public RStringVector doUnique(RAbstractStringVector vec, byte incomparables, byte fromLast, byte nmax, RMissing vararg) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment