commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1101575 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/linear/ArrayFieldVector.java site/xdoc/changes.xml
Date Tue, 10 May 2011 18:09:08 GMT
Author: luc
Date: Tue May 10 18:09:07 2011
New Revision: 1101575

URL: http://svn.apache.org/viewvc?rev=1101575&view=rev
Log:
Fixed an unused constructor parameter in ArrayFieldVector.
JIRA: MATH-572

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java
    commons/proper/math/trunk/src/site/xdoc/changes.xml

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java?rev=1101575&r1=1101574&r2=1101575&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/linear/ArrayFieldVector.java
Tue May 10 18:09:07 2011
@@ -349,7 +349,7 @@ public class ArrayFieldVector<T extends 
         data = buildArray(v1.length + v2.length);
         System.arraycopy(v1, 0, data, 0, v1.length);
         System.arraycopy(v2, 0, data, v1.length, v2.length);
-        this.field = data[0].getField();
+        this.field = field;
     }
 
     /**

Modified: commons/proper/math/trunk/src/site/xdoc/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/changes.xml?rev=1101575&r1=1101574&r2=1101575&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/changes.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/changes.xml Tue May 10 18:09:07 2011
@@ -52,6 +52,9 @@ The <action> type attribute can be add,u
     If the output is not quite correct, check for invisible trailing spaces!
      -->
     <release version="3.0" date="TBD" description="TBD">
+      <action dev="luc" type="fix" issue="MATH-572">
+        Fixed an unused constructor parameter in ArrayFieldVector.
+      </action>
       <action dev="erans" type="add" issue="MATH-566">
         Created an "ExceptionContext" class: It provides the customization feature of
         "MathRuntimeException" without imposing a singly rooted hierarchy of the Comons



Mime
View raw message