We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 994bfdb commit d077f93Copy full SHA for d077f93
src/main/java/org/apache/sysds/hops/rewriter/dml/DMLCodeGenerator.java
@@ -246,10 +246,10 @@ public static String generateDMLVariables(Set<RewriterStatement> vars) {
246
if (var.isInstruction()) {
247
if (var.trueInstruction().equals("rowVec")) {
248
mId = var.getChild(0).getId();
249
- ncol = 1L;
+ nrow = 1L;
250
} else if (var.trueInstruction().equals("colVec")) {
251
252
- nrow = 1L;
+ ncol = 1L;
253
} else if (var.trueInstruction().equals("const")) {
254
sb.append(var.getId());
255
sb.append(" = matrix(" + var.getChild(1).getLiteral() + ", rows=" + nrow + ", cols=" + ncol + ")\n");
0 commit comments