You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Lance Norskog (Created) (JIRA)" <ji...@apache.org> on 2011/10/22 06:08:32 UTC

[jira] [Created] (MAHOUT-849) Wrong error messages in AbstractMatrix

Wrong error messages in AbstractMatrix
--------------------------------------

                 Key: MAHOUT-849
                 URL: https://issues.apache.org/jira/browse/MAHOUT-849
             Project: Mahout
          Issue Type: Bug
            Reporter: Lance Norskog
            Priority: Trivial


AbstractMatrix prints out the wrong number when checking cardinality in times(Vector) and times(Matrix).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-849) Wrong error messages in AbstractMatrix

Posted by "Ted Dunning (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133499#comment-13133499 ] 

Ted Dunning commented on MAHOUT-849:
------------------------------------

It usually indicates a bug in the test, though.  This usually indicates a type mismatch where the objects have the same string form.
                
> Wrong error messages in AbstractMatrix
> --------------------------------------
>
>                 Key: MAHOUT-849
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-849
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Lance Norskog
>            Assignee: Sean Owen
>            Priority: Trivial
>             Fix For: 0.6
>
>         Attachments: MAHOUT-849.patch
>
>
> AbstractMatrix prints out the wrong number when checking cardinality in times(Vector) and times(Matrix).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-849) Wrong error messages in AbstractMatrix

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133409#comment-13133409 ] 

Hudson commented on MAHOUT-849:
-------------------------------

Integrated in Mahout-Quality #1111 (See [https://builds.apache.org/job/Mahout-Quality/1111/])
    MAHOUT-849 fix CardinalityException args, standardize and clean up use of row/col args

srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1187698
Files : 
* /mahout/trunk/math/src/main/java/org/apache/mahout/math/AbstractMatrix.java

                
> Wrong error messages in AbstractMatrix
> --------------------------------------
>
>                 Key: MAHOUT-849
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-849
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Lance Norskog
>            Assignee: Sean Owen
>            Priority: Trivial
>             Fix For: 0.6
>
>         Attachments: MAHOUT-849.patch
>
>
> AbstractMatrix prints out the wrong number when checking cardinality in times(Vector) and times(Matrix).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-849) Wrong error messages in AbstractMatrix

Posted by "Lance Norskog (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133493#comment-13133493 ] 

Lance Norskog commented on MAHOUT-849:
--------------------------------------

"Error: wanted 43, received 43". This usually indicates a bug :)
                
> Wrong error messages in AbstractMatrix
> --------------------------------------
>
>                 Key: MAHOUT-849
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-849
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Lance Norskog
>            Assignee: Sean Owen
>            Priority: Trivial
>             Fix For: 0.6
>
>         Attachments: MAHOUT-849.patch
>
>
> AbstractMatrix prints out the wrong number when checking cardinality in times(Vector) and times(Matrix).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MAHOUT-849) Wrong error messages in AbstractMatrix

Posted by "Sean Owen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved MAHOUT-849.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6
         Assignee: Sean Owen

Good eye. In fact there were several more similar bits of inconsistency. I cleaned them out here.
                
> Wrong error messages in AbstractMatrix
> --------------------------------------
>
>                 Key: MAHOUT-849
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-849
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Lance Norskog
>            Assignee: Sean Owen
>            Priority: Trivial
>             Fix For: 0.6
>
>         Attachments: MAHOUT-849.patch
>
>
> AbstractMatrix prints out the wrong number when checking cardinality in times(Vector) and times(Matrix).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAHOUT-849) Wrong error messages in AbstractMatrix

Posted by "Lance Norskog (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133566#comment-13133566 ] 

Lance Norskog commented on MAHOUT-849:
--------------------------------------

My code attempted to multiply two MxN matrices which gives this complaint string. The test probes a cardinality mistake, but just catches the CardinalityException. In this case the class and test are correct, but the error messages are confusing. The JUnit annotation that examines exceptions would need a "required string" to find this.
                
> Wrong error messages in AbstractMatrix
> --------------------------------------
>
>                 Key: MAHOUT-849
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-849
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Lance Norskog
>            Assignee: Sean Owen
>            Priority: Trivial
>             Fix For: 0.6
>
>         Attachments: MAHOUT-849.patch
>
>
> AbstractMatrix prints out the wrong number when checking cardinality in times(Vector) and times(Matrix).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAHOUT-849) Wrong error messages in AbstractMatrix

Posted by "Lance Norskog (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lance Norskog updated MAHOUT-849:
---------------------------------

    Attachment: MAHOUT-849.patch
    
> Wrong error messages in AbstractMatrix
> --------------------------------------
>
>                 Key: MAHOUT-849
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-849
>             Project: Mahout
>          Issue Type: Bug
>            Reporter: Lance Norskog
>            Priority: Trivial
>         Attachments: MAHOUT-849.patch
>
>
> AbstractMatrix prints out the wrong number when checking cardinality in times(Vector) and times(Matrix).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira