GitHub user mpjlu opened a pull request: https://github.com/apache/spark/pull/14824
[ML][MLLIB]The require condition and message doesn't match in SparseMatrix. ## What changes were proposed in this pull request? The require condition and message doesn't match, and the condition also should be optimized. Small change. Please kindly let me know if JIRA required. ## How was this patch tested? No additional test required. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mpjlu/spark smallChangeForMatrixRequire Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/14824.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #14824 ---- commit a51c80614006956c13e3a8d5b6a424cc68c35392 Author: Peng, Meng <peng.m...@intel.com> Date: 2016-08-26T04:52:05Z Change require condition for Matrix contructor commit e5af18f83ae628104989ed71688a0ed42318a46b Author: Peng, Meng <peng.m...@intel.com> Date: 2016-08-26T09:46:08Z use interpolation in a string ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org