[ 
https://issues.apache.org/jira/browse/SYSTEMML-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15517387#comment-15517387
 ] 

Sandeep Narayanaswami commented on SYSTEMML-954:
------------------------------------------------

Hey Matthias, thanks for the heads-up. It looks like this can be handled 
entirely in the SyntacticValidator because seq() already does the right thing 
and we are just passing the parameters through. I have submitted a simple PR 
for this.

> PyDML's range() needs all 3 arguments
> -------------------------------------
>
>                 Key: SYSTEMML-954
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-954
>             Project: SystemML
>          Issue Type: Bug
>          Components: PyDML
>            Reporter: Sandeep Narayanaswami
>            Assignee: Sandeep Narayanaswami
>            Priority: Trivial
>
> PyDML's range() breaks when called with two arguments, eg. range(1, 10). This 
> is at odds with the behavior of Python's range, and of DML's seq() which has 
> a default value of 1.0 for the increment argument and thus does not break 
> when called, eg, seq(1, 10).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to