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 2017/11/17 21:21:28 UTC

systemml git commit: [HOTFIX][SYSTEMML-2015] Fix ctable rehashing of collided entries

Repository: systemml
Updated Branches:
  refs/heads/master 43c28cf79 -> 5e96d2a6a


[HOTFIX][SYSTEMML-2015] Fix ctable rehashing of collided entries

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

Branch: refs/heads/master
Commit: 5e96d2a6a00a34f91e6d9902294f5205e2b037e9
Parents: 43c28cf
Author: Matthias Boehm <mb...@gmail.com>
Authored: Fri Nov 17 13:21:49 2017 -0800
Committer: Matthias Boehm <mb...@gmail.com>
Committed: Fri Nov 17 13:21:57 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/systemml/blob/5e96d2a6/src/main/java/org/apache/sysml/runtime/util/LongLongDoubleHashMap.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/runtime/util/LongLongDoubleHashMap.java b/src/main/java/org/apache/sysml/runtime/util/LongLongDoubleHashMap.java
index 93ea7f8..d6b9e09 100644
--- a/src/main/java/org/apache/sysml/runtime/util/LongLongDoubleHashMap.java
+++ b/src/main/java/org/apache/sysml/runtime/util/LongLongDoubleHashMap.java
@@ -103,7 +103,7 @@ public class LongLongDoubleHashMap
 				while( e.next!=null ) {
 					ADoubleEntry tmp = e;
 					e = e.next; //tmp.next overwritten on append
-					appendEntry(e.getKey1(), e.getKey2(), tmp);
+					appendEntry(tmp.getKey1(), tmp.getKey2(), tmp);
 				}
 				appendEntry(e.getKey1(), e.getKey2(), e);
 			}