Github user dbtsai commented on a diff in the pull request:
https://github.com/apache/spark/pull/12416#discussion_r61003884
--- Diff:
mllib-local/src/main/scala/org/apache/spark/ml/linalg/Matrices.scala ---
@@ -154,11 +172,12 @@ sealed trait Matrix extends Serializable {
* @param isTransposed whether the matrix is transposed. If true, `values`
stores the matrix in
* row major.
*/
-class DenseMatrix (
- val numRows: Int,
- val numCols: Int,
- val values: Array[Double],
- override val isTransposed: Boolean) extends Matrix {
+@Since("2.0.0")
+class DenseMatrix @Since("2.0.0") (
+ @Since("2.0.0") val numRows: Int,
+ @Since("2.0.0") val numCols: Int,
+ @Since("2.0.0") val values: Array[Double],
+ @Since("2.0.0") override val isTransposed: Boolean) extends Matrix {
--- End diff --
I think the `override val` doesn't have to be annotated.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]