Issue Details (XML | Word | Printable)

Key: MATH-281
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Luc Maisonobe
Reporter: Albert Huang
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Math

RealMatrix.subtract javadoc typo

Created: 01/Aug/09 05:45 PM   Updated: 07/Aug/09 09:19 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Time Tracking:
Not Specified

Resolution Date: 01/Aug/09 07:03 PM


 Description  « Hide
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;


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #799906 Sat Aug 01 19:01:59 UTC 2009 luc fixed an error in RealMatrix javadoc
JIRA: MATH-281
Files Changed
MODIFY /commons/proper/math/trunk/src/site/xdoc/changes.xml
MODIFY /commons/proper/math/trunk/RELEASE-NOTES.txt
MODIFY /commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/RealMatrix.java

Luc Maisonobe added a comment - 01/Aug/09 07:03 PM
fixed in subversion repository as of r799906
thanks for the report

Luc Maisonobe made changes - 01/Aug/09 07:03 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Fix Version/s 2.0 [ 12312686 ]
Assignee Luc Maisonobe [ luc ]
Status Open [ 1 ] Resolved [ 5 ]
Luc Maisonobe added a comment - 07/Aug/09 09:19 AM
closing resolved issue for 2.0 release

Luc Maisonobe made changes - 07/Aug/09 09:19 AM
Status Resolved [ 5 ] Closed [ 6 ]