This is an automated email from the ASF dual-hosted git repository.

mboehm7 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
     new 0dc27cf  [MINOR] Fix runtime plan cost estimator (createvar 
instruction)
0dc27cf is described below

commit 0dc27cfa8572d20abd697797440da45c5c261e2c
Author: xorsum <[email protected]>
AuthorDate: Sun Oct 18 12:40:46 2020 +0200

    [MINOR] Fix runtime plan cost estimator (createvar instruction)
    
    Closes #1079.
---
 src/main/java/org/apache/sysds/hops/cost/CostEstimator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sysds/hops/cost/CostEstimator.java 
b/src/main/java/org/apache/sysds/hops/cost/CostEstimator.java
index fd670cc..bb8753c 100644
--- a/src/main/java/org/apache/sysds/hops/cost/CostEstimator.java
+++ b/src/main/java/org/apache/sysds/hops/cost/CostEstimator.java
@@ -215,7 +215,7 @@ public abstract class CostEstimator
                                long rlen = Long.parseLong(parts[6]);
                                long clen = Long.parseLong(parts[7]);
                                int blen = Integer.parseInt(parts[8]);
-                               long nnz = Long.parseLong(parts[10]);
+                               long nnz = Long.parseLong(parts[9]);
                                VarStats vs = new VarStats(rlen, clen, blen, 
nnz, false);
                                stats.put(varname, vs);
                        }

Reply via email to