Skip to content
Snippets Groups Projects
Commit 4f532e93 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

fix completeness of as.character result

parent 60f6538f
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ public abstract class CastStringNode extends CastNode {
for (int i = 0; i < operand.getLength(); i++) {
sdata[i] = elementFunction.apply(i);
}
RStringVector ret = RDataFactory.createStringVector(sdata, RDataFactory.COMPLETE_VECTOR, isPreserveDimensions() ? operand.getDimensions() : null, isPreserveNames() ? operand.getNames() : null);
RStringVector ret = RDataFactory.createStringVector(sdata, operand.isComplete(), isPreserveDimensions() ? operand.getDimensions() : null, isPreserveNames() ? operand.getNames() : null);
if (isAttrPreservation()) {
ret.copyRegAttributesFrom(operand);
}
......
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