Small modificaton of NumericCovariate; child classes now gurantee they

return NumericCovariate when getParent() is called.
This commit is contained in:
Joel Therrien 2018-07-04 10:54:46 -07:00
parent 38e70dd3a1
commit 2259528c22

View file

@ -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;
} }