You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by ni...@apache.org on 2017/09/08 02:49:32 UTC
systemml git commit: [SYSTEMML-1891] Prevent 'Script string is blank'
exception for Python
Repository: systemml
Updated Branches:
refs/heads/master 722c8f155 -> 5a2b49f20
[SYSTEMML-1891] Prevent 'Script string is blank' exception for Python
Closes #659.
Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/5a2b49f2
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/5a2b49f2
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/5a2b49f2
Branch: refs/heads/master
Commit: 5a2b49f20c6e9d72061b5cb631736f15d577d396
Parents: 722c8f1
Author: Niketan Pansare <np...@us.ibm.com>
Authored: Thu Sep 7 18:49:04 2017 -0800
Committer: Niketan Pansare <np...@us.ibm.com>
Committed: Thu Sep 7 19:49:04 2017 -0700
----------------------------------------------------------------------
src/main/python/systemml/defmatrix.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/systemml/blob/5a2b49f2/src/main/python/systemml/defmatrix.py
----------------------------------------------------------------------
diff --git a/src/main/python/systemml/defmatrix.py b/src/main/python/systemml/defmatrix.py
index e9bd4b1..d24ba62 100644
--- a/src/main/python/systemml/defmatrix.py
+++ b/src/main/python/systemml/defmatrix.py
@@ -321,7 +321,7 @@ def eval(outputs, execute=True):
check_MLContext()
reset()
outputs = convert_outputs_to_list(outputs)
- matrix.script.scriptString = perform_dfs(outputs, execute)
+ matrix.script.setScriptString(perform_dfs(outputs, execute))
if not execute:
reset_output_flag(outputs)
return matrix.script.scriptString