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/24 23:55:00 UTC

[jira] [Resolved] (SYSTEMML-1859) Function calls with extraneous input arguments allowed

     [ https://issues.apache.org/jira/browse/SYSTEMML-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deron Eriksson resolved SYSTEMML-1859.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: SystemML 1.0

Fixed by [PR633|https://github.com/apache/systemml/pull/633].

> 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
>             Fix For: SystemML 1.0
>
>
> 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)