You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2017/08/23 00:51:00 UTC
[jira] [Created] (SYSTEMML-1859) Function calls with extraneous
input arguments allowed
Deron Eriksson created SYSTEMML-1859:
----------------------------------------
Summary: Function calls with extraneous input arguments allowed
Key: SYSTEMML-1859
URL: https://issues.apache.org/jira/browse/SYSTEMML-1859
Project: SystemML
Issue Type: Bug
Components: Parser, Runtime
Reporter: Deron Eriksson
Assignee: Deron Eriksson
Even though the following function only takes one input argument, if it is called with multiple input arguments, the extraneous arguments are ignored rather than throwing an error:
{code}
triple = function(double a) return (double z) { z = a*3; }
x = triple(10,11,12)
print(x)
{code}
(This outputs 30.0)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)