GitHub user brkyvz opened a pull request:

    https://github.com/apache/spark/pull/4279

    [SPARK-5486] Added validate method to BlockMatrix

    The `validate` method will allow users to debug their `BlockMatrix`, if 
operations like `add` or `multiply` return unexpected results. It checks the 
following properties in a `BlockMatrix`:
    - Are the dimensions of the `BlockMatrix` consistent with what the user 
entered: (`nRows`, `nCols`)
    - Are the dimensions of each `MatrixBlock` consistent with what the user 
entered: (`rowsPerBlock`, `colsPerBlock`)
    - Are there blocks with duplicate indices

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/brkyvz/spark SPARK-5486

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/4279.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 #4279
    
----
commit 0aa519a4b298562e0088b31524ce96f9ed3a4180
Author: Burak Yavuz <[email protected]>
Date:   2015-01-29T22:58:27Z

    [SPARK-5486] Added validate method to BlockMatrix

----


---
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]

Reply via email to