Skip to content

Commit

Permalink
[MINOR] Fix ultra sparse empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Nov 30, 2023
1 parent 88fe2b0 commit 7b53ca2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1903,8 +1903,10 @@ private static void matrixMultUltraSparseSparseSparseLeftRowOneNonZero(int i, in
private static void matrixMultUltraSparseSparseSparseLeftRowGeneric(int i, int apos, int alen, int[] aixs,
double[] avals, SparseBlock b, SparseBlockMCSR c, int m, int n) {
for(int k = apos; k < apos + alen; k++) {
final double aval = avals[k];
final int aix = aixs[k];
if(b.isEmpty(aix))
continue;
final double aval = avals[k];
final int bpos = b.pos(aix);
final int blen = b.size(aix) + bpos;
final int[] bix = b.indexes(aix);
Expand Down

0 comments on commit 7b53ca2

Please sign in to comment.