systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glenn Weidner (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYSTEMML-1859) Function calls with extraneous input arguments allowed
Date Sat, 09 Sep 2017 00:19:00 GMT

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

Glenn Weidner updated SYSTEMML-1859:
------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.15

> 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 0.15
>
>
> 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)

Mime
View raw message