You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemds.apache.org by mb...@apache.org on 2021/03/27 00:39:08 UTC

[systemds] branch master updated: [MINOR] Fix IPA function call graph (missing cleanup debug output)

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

mboehm7 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 c20e540  [MINOR] Fix IPA function call graph (missing cleanup debug output)
c20e540 is described below

commit c20e540095f0af30770f5f4558e93a0641c81f67
Author: Matthias Boehm <mb...@gmail.com>
AuthorDate: Sat Mar 27 01:37:52 2021 +0100

    [MINOR] Fix IPA function call graph (missing cleanup debug output)
---
 src/main/java/org/apache/sysds/hops/ipa/FunctionCallGraph.java       | 1 -
 .../java/org/apache/sysds/test/functions/compress/compressScale.java | 5 +++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/sysds/hops/ipa/FunctionCallGraph.java b/src/main/java/org/apache/sysds/hops/ipa/FunctionCallGraph.java
index 23bd233..77aab5b 100644
--- a/src/main/java/org/apache/sysds/hops/ipa/FunctionCallGraph.java
+++ b/src/main/java/org/apache/sysds/hops/ipa/FunctionCallGraph.java
@@ -472,7 +472,6 @@ public class FunctionCallGraph
 		if( !fstack.contains(lfkey) ) {
 			fstack.push(lfkey);
 			_fGraph.get(fkey).add(lfkey);
-			System.out.println(fkey+" -> "+lfkey);
 			FunctionStatementBlock fsb = sb.getDMLProg()
 				.getFunctionStatementBlock(fop.getFunctionNamespace(), fop.getFunctionName());
 			FunctionStatement fs = (FunctionStatement) fsb.getStatement(0);
diff --git a/src/test/java/org/apache/sysds/test/functions/compress/compressScale.java b/src/test/java/org/apache/sysds/test/functions/compress/compressScale.java
index 6c89908..ef5f5e0 100644
--- a/src/test/java/org/apache/sysds/test/functions/compress/compressScale.java
+++ b/src/test/java/org/apache/sysds/test/functions/compress/compressScale.java
@@ -73,10 +73,11 @@ public class compressScale extends AutomatedTestBase {
 	// compressTest(10, 200000, 0.2, ExecType.CP, 0, 5, 1, 0);
 	// }
 
-	public void compressTest(int cols, int rows, double sparsity, LopProperties.ExecType instType, int min, int max,
-		int scale, int center) {
+	public void compressTest(int cols, int rows, double sparsity, LopProperties.ExecType instType,
+		int min, int max, int scale, int center) {
 
 		Types.ExecMode platformOld = setExecMode(instType);
+		setOutputBuffering(true); //otherwise test fails in local
 		try {
 
 			fullDMLScriptName = SCRIPT_DIR + "/" + getTestDir() + getTestName() + ".dml";