use of beast.core.parameter.IntegerParameter in project beast2 by CompEvol.
the class Sum method initAndValidate.
@Override
public void initAndValidate() {
List<Function> valuable = functionInput.get();
mode = Mode.integer_mode;
for (Function v : valuable) {
if (!(v instanceof IntegerParameter || v instanceof BooleanParameter)) {
mode = Mode.double_mode;
}
}
}
Aggregations