Skip to content
Snippets Groups Projects
Commit ddeacc9b authored by stepan's avatar stepan Committed by Mick Jordan
Browse files

Fix checkstyle error

parent 89931a70
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ public abstract class Choose extends RBuiltinNode {
@Specialization
protected RAbstractDoubleVector doDoubleInt(RAbstractDoubleVector n, RAbstractIntVector k) {
return choose(n.getLength(), idx -> (double) n.getDataAt(idx), k.getLength(), idx -> k.getDataAt(idx));
return choose(n.getLength(), idx -> n.getDataAt(idx), k.getLength(), idx -> k.getDataAt(idx));
}
// In the cases where 'k' is real vector we round values in 'k' to integers. Warning is shown
......
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