Use generic parameter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522088 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a0636a7400
commit
0442cddf57
|
@ -68,7 +68,7 @@ public abstract class AbstractLeastSquaresOptimizer<OPTIM extends AbstractLeastS
|
|||
*
|
||||
* @param other Instance to copy.
|
||||
*/
|
||||
protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer other) {
|
||||
protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer<OPTIM> other) {
|
||||
super(other);
|
||||
|
||||
target = other.target == null ? null : other.target.clone();
|
||||
|
|
Loading…
Reference in New Issue