commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (MATH-281) RealMatrix.subtract javadoc typo
Date Sat, 01 Aug 2009 19:04:15 GMT

     [ https://issues.apache.org/jira/browse/MATH-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Luc Maisonobe resolved MATH-281.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
         Assignee: Luc Maisonobe

fixed in subversion repository as of r799906
thanks for the report

> RealMatrix.subtract javadoc typo
> --------------------------------
>
>                 Key: MATH-281
>                 URL: https://issues.apache.org/jira/browse/MATH-281
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Albert Huang
>            Assignee: Luc Maisonobe
>            Priority: Minor
>             Fix For: 2.0
>
>
> I think the javadoc for RealMatrix.subtract is wrong.  It says "@return this + m", which
perhaps should be "@return this - m"
> Index: src/main/java/org/apache/commons/math/linear/RealMatrix.java
> ===================================================================
> --- src/main/java/org/apache/commons/math/linear/RealMatrix.java	(revision 799902)
> +++ src/main/java/org/apache/commons/math/linear/RealMatrix.java	(working copy)
> @@ -60,7 +60,7 @@
>       * Compute this minus m.
>       *
>       * @param m    matrix to be subtracted
> -     * @return     this + m
> +     * @return     this - m
>       * @throws  IllegalArgumentException if m is not the same size as this
>       */
>      RealMatrix subtract(RealMatrix m) throws IllegalArgumentException;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message