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

mboehm7 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 ad18874627 [MINOR] Fix missing overloaded containsValue on compressed 
matrix block
ad18874627 is described below

commit ad1887462729bd36886660ae204193ac23fd4d42
Author: Matthias Boehm <[email protected]>
AuthorDate: Sat Mar 23 20:59:05 2024 +0100

    [MINOR] Fix missing overloaded containsValue on compressed matrix block
---
 .../org/apache/sysds/runtime/compress/CompressedMatrixBlock.java    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java 
b/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java
index 92200d4384..b558db8516 100644
--- a/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java
+++ b/src/main/java/org/apache/sysds/runtime/compress/CompressedMatrixBlock.java
@@ -645,6 +645,12 @@ public class CompressedMatrixBlock extends MatrixBlock {
                        return false;
                }
        }
+       
+       @Override
+       public boolean containsValue(double pattern, int k) {
+               //TODO parallel contains value
+               return containsValue(pattern);
+       }
 
        @Override
        public double max() {

Reply via email to