You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2017/07/12 20:12:37 UTC

systemml git commit: [SYSTEMML-1756] Fix potential infinite recursion in Explain#explain

Repository: systemml
Updated Branches:
  refs/heads/master 757288a70 -> a430481ba


[SYSTEMML-1756] Fix potential infinite recursion in Explain#explain

Pass null for ExplainCounts parameter.

Closes #568.


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

Branch: refs/heads/master
Commit: a430481baecf45909abf518c063781bc48e390d1
Parents: 757288a
Author: tedyu <yu...@gmail.com>
Authored: Wed Jul 12 13:08:46 2017 -0700
Committer: Deron Eriksson <de...@apache.org>
Committed: Wed Jul 12 13:08:46 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/systemml/blob/a430481b/src/main/java/org/apache/sysml/utils/Explain.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/utils/Explain.java b/src/main/java/org/apache/sysml/utils/Explain.java
index bd9d6aa..59e0b86 100644
--- a/src/main/java/org/apache/sysml/utils/Explain.java
+++ b/src/main/java/org/apache/sysml/utils/Explain.java
@@ -200,7 +200,7 @@ public class Explain
 
 	public static String explain(DMLProgram prog, Program rtprog, ExplainType type) 
 		throws HopsException, DMLRuntimeException, LanguageException {
-		return explain(prog, rtprog, type);
+		return explain(prog, rtprog, type, null);
 	}	
 	
 	public static String explain(DMLProgram prog, Program rtprog, ExplainType type, ExplainCounts counts)