mirror of
https://github.com/apache/commons-math.git
synced 2025-03-04 07:29:06 +00:00
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…
x
Reference in New Issue
Block a user