[SYSTEMML-259] Function with no return value not require lvalue If a user-defined function does not return a value, don't require that the function is assigned to a variable since there is nothing to assign. Add corresponding MLContext tests.
Closes #411. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/032bc376 Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/032bc376 Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/032bc376 Branch: refs/heads/gh-pages Commit: 032bc376e70b2f45bf0b8495e2f1972a9d6d6d63 Parents: be4eaaf Author: Deron Eriksson <de...@us.ibm.com> Authored: Mon Mar 6 15:26:37 2017 -0800 Committer: Deron Eriksson <de...@us.ibm.com> Committed: Mon Mar 6 15:26:37 2017 -0800 ---------------------------------------------------------------------- beginners-guide-to-dml-and-pydml.md | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/032bc376/beginners-guide-to-dml-and-pydml.md ---------------------------------------------------------------------- diff --git a/beginners-guide-to-dml-and-pydml.md b/beginners-guide-to-dml-and-pydml.md index e82909d..9d19cc8 100644 --- a/beginners-guide-to-dml-and-pydml.md +++ b/beginners-guide-to-dml-and-pydml.md @@ -641,7 +641,6 @@ parfor(i in 0:nrow(A)-1): Functions encapsulate useful functionality in SystemML. In addition to built-in functions, users can define their own functions. Functions take 0 or more parameters and return 0 or more values. -Currently, if a function returns nothing, it still needs to be assigned to a variable. <div class="codetabs2">