You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by mb...@apache.org on 2017/05/25 21:49:11 UTC

[2/2] incubator-systemml git commit: [MINOR] Fix codegen row template construction (input ordering w/ vma)

[MINOR] Fix codegen row template construction (input ordering w/ vma)

Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/c697c30e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/c697c30e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/c697c30e

Branch: refs/heads/master
Commit: c697c30ebbfb24872f379523793a2c121553bb1c
Parents: a362bce
Author: Matthias Boehm <mb...@gmail.com>
Authored: Thu May 25 14:36:38 2017 -0700
Committer: Matthias Boehm <mb...@gmail.com>
Committed: Thu May 25 14:48:58 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/sysml/hops/codegen/template/TemplateRow.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/c697c30e/src/main/java/org/apache/sysml/hops/codegen/template/TemplateRow.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/hops/codegen/template/TemplateRow.java b/src/main/java/org/apache/sysml/hops/codegen/template/TemplateRow.java
index 3f947c8..3979aae 100644
--- a/src/main/java/org/apache/sysml/hops/codegen/template/TemplateRow.java
+++ b/src/main/java/org/apache/sysml/hops/codegen/template/TemplateRow.java
@@ -200,6 +200,7 @@ public class TemplateRow extends TemplateBase
 				inHops.add(hop.getInput().get(0).getInput().get(0));
 				
 				out = new CNodeBinary(cdata1, cdata2, BinType.VECT_MULT_ADD);
+				inHops2.put("X", hop.getInput().get(0).getInput().get(0));
 			}
 			else
 			{