Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Oct 21, 2024
1 parent 5802539 commit 0432dcc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

import org.apache.commons.lang3.NotImplementedException;
import org.apache.sysds.runtime.DMLRuntimeException;
import org.apache.sysds.runtime.compress.DMLCompressionException;
import org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex;
import org.apache.sysds.runtime.data.SparseBlock;
import org.apache.sysds.runtime.functionobjects.Builtin;
Expand Down Expand Up @@ -203,13 +202,6 @@ public IDictionary sliceOutColumnRange(int idxStart, int idxEnd, int previousNum
return getMBDict().sliceOutColumnRange(idxStart, idxEnd, previousNumberOfColumns);
}

@Override
public int getNumberOfValues(int ncol) {
if(ncol != u - l)
throw new DMLCompressionException("Invalid call to get Number of values assuming wrong number of columns");
return nRowCol + (withEmpty ? 1 : 0);
}

@Override
public boolean containsValue(double pattern) {
return pattern == 0.0 || pattern == 1.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ public void verify() {
}
}

protected void lmSparseMatrixRow(SparseBlock sb, final int r, DenseBlock db, final IColIndex colIndexes,
public void lmSparseMatrixRow(SparseBlock sb, final int r, DenseBlock db, final IColIndex colIndexes,
final IDictionary dict) {
if(sb.isEmpty(r))
return;
Expand Down

0 comments on commit 0432dcc

Please sign in to comment.