Skip to content

Commit 684531d

Browse files
authored
[MINOR] Fix minor mistake in MNC sparsity estimation for row bind operations
The wrong variable was used, h1 instead of h2.
1 parent f18b23a commit 684531d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/sysds/hops/estim/EstimatorMatrixHistogram.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ public static DataCharacteristics deriveOutputCharacteristics(MatrixHistogram h1
386386
return new MatrixCharacteristics(h1.getRows(), h1.getCols(),
387387
OptimizerUtils.getNnz(h1.getRows(), h1.getCols(), spOut));
388388
case RBIND:
389-
return new MatrixCharacteristics(h1.getRows()+h1.getRows(), h1.getCols(),
389+
return new MatrixCharacteristics(h1.getRows()+h2.getRows(), h1.getCols(),
390390
OptimizerUtils.getNnz(h1.getRows()+h2.getRows(), h1.getCols(), spOut));
391391
case CBIND:
392392
return new MatrixCharacteristics(h1.getRows(), h1.getCols()+h2.getCols(),

0 commit comments

Comments
 (0)