Small modificaton of NumericCovariate; child classes now gurantee they
return NumericCovariate when getParent() is called.
This commit is contained in:
parent
38e70dd3a1
commit
2259528c22
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ public class NumericCovariate implements Covariate<Double>{
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Covariate<Double> getParent() {
|
public NumericCovariate getParent() {
|
||||||
return NumericCovariate.this;
|
return NumericCovariate.this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ public class NumericCovariate implements Covariate<Double>{
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Covariate<Double> getParent() {
|
public NumericCovariate getParent() {
|
||||||
return NumericCovariate.this;
|
return NumericCovariate.this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue