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

arnabp20 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 a09b6989f8 [MINOR] Fix bug in transform spec parsing
a09b6989f8 is described below

commit a09b6989f83c455d1623843ab351627b625f112b
Author: Arnab Phani <[email protected]>
AuthorDate: Mon Jul 22 15:51:23 2024 +0200

    [MINOR] Fix bug in transform spec parsing
---
 src/main/java/org/apache/sysds/runtime/util/CollectionUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sysds/runtime/util/CollectionUtils.java 
b/src/main/java/org/apache/sysds/runtime/util/CollectionUtils.java
index 6b57bc5a61..b891c0b49c 100644
--- a/src/main/java/org/apache/sysds/runtime/util/CollectionUtils.java
+++ b/src/main/java/org/apache/sysds/runtime/util/CollectionUtils.java
@@ -122,7 +122,7 @@ public class CollectionUtils {
                                //if the item is in the seen set, return true
                                if (probe.contains(item))
                                        return true;
-                       probe.addAll(inputs[i]);
+                       probe.addAll(nonEmpty[i]);
                }
                return false;
        }

Reply via email to