This is an automated email from the ASF dual-hosted git repository.
Baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new 684531d702 [MINOR] Fix minor mistake in MNC sparsity estimation for
row bind operations
684531d702 is described below
commit 684531d7027c0c557d375ce67d427a1e0e893d05
Author: ywcb00 <[email protected]>
AuthorDate: Wed May 20 18:30:33 2026 +0200
[MINOR] Fix minor mistake in MNC sparsity estimation for row bind operations
The wrong variable was used, h1 instead of h2.
---
src/main/java/org/apache/sysds/hops/estim/EstimatorMatrixHistogram.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/main/java/org/apache/sysds/hops/estim/EstimatorMatrixHistogram.java
b/src/main/java/org/apache/sysds/hops/estim/EstimatorMatrixHistogram.java
index 9bfecabaea..f545d0d06e 100644
--- a/src/main/java/org/apache/sysds/hops/estim/EstimatorMatrixHistogram.java
+++ b/src/main/java/org/apache/sysds/hops/estim/EstimatorMatrixHistogram.java
@@ -386,7 +386,7 @@ public class EstimatorMatrixHistogram extends
SparsityEstimator
return new
MatrixCharacteristics(h1.getRows(), h1.getCols(),
OptimizerUtils.getNnz(h1.getRows(), h1.getCols(), spOut));
case RBIND:
- return new
MatrixCharacteristics(h1.getRows()+h1.getRows(), h1.getCols(),
+ return new
MatrixCharacteristics(h1.getRows()+h2.getRows(), h1.getCols(),
OptimizerUtils.getNnz(h1.getRows()+h2.getRows(), h1.getCols(), spOut));
case CBIND:
return new
MatrixCharacteristics(h1.getRows(), h1.getCols()+h2.getCols(),