Repository: systemml
Updated Branches:
  refs/heads/master 8de008d21 -> b67f18641


[MINOR] Fix debug output IPA FunctionCallSizeInfo

Integer can not be converted to Long. This bug can be reproduced by setting the 
LogLevel to be `DEBUG` and running the MNIST example.

Closes #566.


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

Branch: refs/heads/master
Commit: b67f18641b74c08c7f30447eafe45c6e2945fd0f
Parents: 8de008d
Author: Fei Hu <[email protected]>
Authored: Tue Jul 11 21:59:08 2017 -0700
Committer: Matthias Boehm <[email protected]>
Committed: Tue Jul 11 21:59:09 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/systemml/blob/b67f1864/src/main/java/org/apache/sysml/hops/ipa/FunctionCallSizeInfo.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/hops/ipa/FunctionCallSizeInfo.java 
b/src/main/java/org/apache/sysml/hops/ipa/FunctionCallSizeInfo.java
index 9f76e32..b568f94 100644
--- a/src/main/java/org/apache/sysml/hops/ipa/FunctionCallSizeInfo.java
+++ b/src/main/java/org/apache/sysml/hops/ipa/FunctionCallSizeInfo.java
@@ -303,7 +303,7 @@ public class FunctionCallSizeInfo
                        sb.append(getFunctionCallCount(fkey));
                        if( !_fcandSafeNNZ.get(fkey).isEmpty() ) {
                                sb.append("\n----");
-                               
sb.append(Arrays.toString(_fcandSafeNNZ.get(fkey).toArray(new Long[0])));
+                               
sb.append(Arrays.toString(_fcandSafeNNZ.get(fkey).toArray(new Integer[0])));
                        }
                        sb.append("\n");
                }

Reply via email to