You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by mb...@apache.org on 2018/02/15 06:23:14 UTC
systemml git commit: [SYSTEMML-2068] Fix unnecessary meta data in
sparse block csr
Repository: systemml
Updated Branches:
refs/heads/master 868b4b98a -> 6a4f1e799
[SYSTEMML-2068] Fix unnecessary meta data in sparse block csr
This patch fixes unnecessary meta data in the CSR sparse block data
structure that was recently introduced (3 days) by a bad merge.
Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/6a4f1e79
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/6a4f1e79
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/6a4f1e79
Branch: refs/heads/master
Commit: 6a4f1e799532a71c292762983b8568100f52cc42
Parents: 868b4b9
Author: Matthias Boehm <mb...@gmail.com>
Authored: Wed Feb 14 22:22:55 2018 -0800
Committer: Matthias Boehm <mb...@gmail.com>
Committed: Wed Feb 14 22:22:55 2018 -0800
----------------------------------------------------------------------
.../org/apache/sysml/runtime/matrix/data/SparseBlockCSR.java | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/systemml/blob/6a4f1e79/src/main/java/org/apache/sysml/runtime/matrix/data/SparseBlockCSR.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/runtime/matrix/data/SparseBlockCSR.java b/src/main/java/org/apache/sysml/runtime/matrix/data/SparseBlockCSR.java
index 749eea4..69488ad 100644
--- a/src/main/java/org/apache/sysml/runtime/matrix/data/SparseBlockCSR.java
+++ b/src/main/java/org/apache/sysml/runtime/matrix/data/SparseBlockCSR.java
@@ -51,13 +51,6 @@ public class SparseBlockCSR extends SparseBlock
private int[] _indexes = null; //column index array (size: >=nnz)
private double[] _values = null; //value array (size: >=nnz)
private int _size = 0; //actual number of nnz
-
- //matrix meta data
- protected int rlen = -1;
- protected int clen = -1;
- protected boolean sparse = true;
- protected long nonZeros = 0;
-
public SparseBlockCSR(int rlen) {
this(rlen, INIT_CAPACITY);