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/04/01 01:18:44 UTC

incubator-systemml git commit: [SYSTEMML-1449] Fix a wrong comparison condition

Repository: incubator-systemml
Updated Branches:
  refs/heads/master ad87b5697 -> 8f7cf77be


[SYSTEMML-1449] Fix a wrong comparison condition

Closes #446.


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

Branch: refs/heads/master
Commit: 8f7cf77bebc331e98a4020b805eff2da99519498
Parents: ad87b56
Author: JC <jc...@lifove.net>
Authored: Fri Mar 31 18:17:47 2017 -0700
Committer: Matthias Boehm <mb...@gmail.com>
Committed: Fri Mar 31 18:17:47 2017 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/sysml/hops/QuaternaryOp.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/8f7cf77b/src/main/java/org/apache/sysml/hops/QuaternaryOp.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/hops/QuaternaryOp.java b/src/main/java/org/apache/sysml/hops/QuaternaryOp.java
index 2549526..f352c04 100644
--- a/src/main/java/org/apache/sysml/hops/QuaternaryOp.java
+++ b/src/main/java/org/apache/sysml/hops/QuaternaryOp.java
@@ -1566,7 +1566,7 @@ public class QuaternaryOp extends Hop implements MultiThreadedHop
 		
 		//compare basic inputs and weights (always existing)
 		boolean ret = (_op == that2._op
-				&& getInput().size() == getInput().size()
+				&& getInput().size() == that2.getInput().size()
 				&& getInput().get(0) == that2.getInput().get(0)
 				&& getInput().get(1) == that2.getInput().get(1)
 				&& getInput().get(2) == that2.getInput().get(2) );