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

Apache Spark commented on SPARK-4405:
-------------------------------------

User 'srowen' has created a pull request for this issue:
https://github.com/apache/spark/pull/4461

> Matrices.* construction methods should check for rows x cols overflow
> ---------------------------------------------------------------------
>
>                 Key: SPARK-4405
>                 URL: https://issues.apache.org/jira/browse/SPARK-4405
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 1.2.0
>            Reporter: Joseph K. Bradley
>            Priority: Minor
>
> Matrices has several methods which construct new all-0, all-1, or random 
> matrices.  They take numRows, numCols as Int and multiply them to get the 
> matrix size.  They should check for overflow before trying to create the 
> matrix.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to