Repository: systemml
Updated Branches:
  refs/heads/master 401b79657 -> 744df8139


[HOTFIX] Fix initialization of compressed matrix blocks (dim check)

Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/6e932951
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/6e932951
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/6e932951

Branch: refs/heads/master
Commit: 6e932951a8a24cb184c2ba0968c63ab4e96425b8
Parents: 401b796
Author: Matthias Boehm <[email protected]>
Authored: Sat Feb 10 13:06:34 2018 -0800
Committer: Matthias Boehm <[email protected]>
Committed: Sat Feb 10 13:06:34 2018 -0800

----------------------------------------------------------------------
 .../org/apache/sysml/runtime/compress/CompressedMatrixBlock.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/systemml/blob/6e932951/src/main/java/org/apache/sysml/runtime/compress/CompressedMatrixBlock.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/sysml/runtime/compress/CompressedMatrixBlock.java 
b/src/main/java/org/apache/sysml/runtime/compress/CompressedMatrixBlock.java
index e5f8827..4867749 100644
--- a/src/main/java/org/apache/sysml/runtime/compress/CompressedMatrixBlock.java
+++ b/src/main/java/org/apache/sysml/runtime/compress/CompressedMatrixBlock.java
@@ -128,7 +128,7 @@ public class CompressedMatrixBlock extends MatrixBlock 
implements Externalizable
        protected boolean _sharedDDC1Dict = false;
        
        public CompressedMatrixBlock() {
-               super(-1, -1, true);
+               super(0, 0, true);
        }
        
        /**

Reply via email to