Repository: systemml
Updated Branches:
  refs/heads/branch-0.15 c4d777c51 -> 26166d219


[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/26166d21
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/26166d21
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/26166d21

Branch: refs/heads/branch-0.15
Commit: 26166d219d7be63dc582a672849d3490b138355b
Parents: c4d777c
Author: Niketan Pansare <[email protected]>
Authored: Thu Sep 7 18:49:04 2017 -0800
Committer: Niketan Pansare <[email protected]>
Committed: Thu Sep 7 19:58:06 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/26166d21/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

Reply via email to