You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by ba...@apache.org on 2020/10/18 17:12:56 UTC

[systemds] branch master updated: [MINOR] Fix sparse transpose self multiply

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

baunsgaard pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/systemds.git


The following commit(s) were added to refs/heads/master by this push:
     new 0ea5148  [MINOR] Fix sparse transpose self multiply
0ea5148 is described below

commit 0ea51487153fc7bfa64d7fcd77c16fa300222030
Author: baunsgaard <ba...@tugraz.at>
AuthorDate: Sun Oct 18 19:12:41 2020 +0200

    [MINOR] Fix sparse transpose self multiply
---
 src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java
index db61927..228aec7 100644
--- a/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java
+++ b/src/main/java/org/apache/sysds/runtime/matrix/data/LibMatrixMult.java
@@ -1932,7 +1932,7 @@ public class LibMatrixMult
 					if( alen == n ) { //dense row
 						for( int i=rl; i<ru; i++ ) {
 							vectMultiplyAdd(avals[i], avals,
-								c.values(i), i, c.pos(i), n-i);
+								c.values(i), i, c.pos(i) + i, n-i);
 						}
 					}
 					else { //non-full sparse row