Skip to content
Snippets Groups Projects
Commit e3bfe752 authored by Adam Welc's avatar Adam Welc
Browse files

Fixed problem with crossproduct implementation.

parent 5a872316
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ public abstract class Crossprod extends RBuiltinNode {
private Object matMult(VirtualFrame frame, Object op1, Object op2) {
if (matMult == null) {
CompilerDirectives.transferToInterpreterAndInvalidate();
matMult = insert(MatMultFactory.create(new RNode[1], getBuiltin(), getSuppliedArgsNames()));
matMult = insert(MatMultFactory.create(new RNode[2], getBuiltin(), getSuppliedArgsNames()));
}
return matMult.executeObject(frame, op1, op2);
}
......
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