Skip to content

Commit

Permalink
[SYSTEMML-1891] Prevent 'Script string is blank' exception for Python
Browse files Browse the repository at this point in the history
Closes #659.
  • Loading branch information
Niketan Pansare committed Sep 8, 2017
1 parent 722c8f1 commit 5a2b49f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/systemml/defmatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a2b49f

Please sign in to comment.