Sanket Reddy created SPARK-36685:
------------------------------------

             Summary: Fix wrong assert statement
                 Key: SPARK-36685
                 URL: https://issues.apache.org/jira/browse/SPARK-36685
             Project: Spark
          Issue Type: Improvement
          Components: ML
    Affects Versions: 3.1.2
            Reporter: Sanket Reddy


{code:scala}
require(numCols == mat.numCols, "The number of rows of the matrices in this 
sequence, " + "don't match!")
{code}
Shall the error message be "The number of columns..."?

This issue also appears in the open source spark:
 
[https://github.com/apache/spark/blob/master/mllib-local/src/main/scala/org/apache/spark/ml/linalg/Matrices.scala#L1266]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to