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

no NA check needed in RIntSequence.castSafe

parent 1d51fd1b
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ public final class RIntSequence extends RSequence implements RAbstractIntVector
return this;
case Double:
case Numeric:
return RDataFactory.createDoubleSequence(RRuntime.int2double(getStart()), RRuntime.int2double(getStride()), getLength());
return RDataFactory.createDoubleSequence(getStart(), getStride(), getLength());
case Complex:
return RClosures.createIntToComplexVector(this);
case Character:
......
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