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
Branches
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ public abstract class Crossprod extends RBuiltinNode { ...@@ -46,7 +46,7 @@ public abstract class Crossprod extends RBuiltinNode {
private Object matMult(VirtualFrame frame, Object op1, Object op2) { private Object matMult(VirtualFrame frame, Object op1, Object op2) {
if (matMult == null) { if (matMult == null) {
CompilerDirectives.transferToInterpreterAndInvalidate(); 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); return matMult.executeObject(frame, op1, op2);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment