commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1522088 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java
Date Wed, 11 Sep 2013 22:53:22 GMT
Author: tn
Date: Wed Sep 11 22:53:22 2013
New Revision: 1522088

URL: http://svn.apache.org/r1522088
Log:
Use generic parameter.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java?rev=1522088&r1=1522087&r2=1522088&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java
Wed Sep 11 22:53:22 2013
@@ -68,7 +68,7 @@ public abstract class AbstractLeastSquar
      *
      * @param other Instance to copy.
      */
-    protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer other) {
+    protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer<OPTIM> other)
{
         super(other);
 
         target = other.target == null ? null : other.target.clone();



Mime
View raw message