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)

Reply via email to