We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad0ae2 commit 651ca8eCopy full SHA for 651ca8e
1 file changed
src/beast/base/evolution/substitutionmodel/ComplexSubstitutionModel.java
@@ -80,7 +80,8 @@ public void initAndValidate() {
80
* @return > 0 if data type can be inferred <= 0 if data type cannot be inferred
81
*/
82
private int getNrOfStatesInData(BEASTInterface o) {
83
- if (o instanceof GenericTreeLikelihood tl) {
+ if (o instanceof GenericTreeLikelihood) {
84
+ GenericTreeLikelihood tl = (GenericTreeLikelihood) o;
85
Alignment data = tl.dataInput.get();
86
if (data.getDataType() == null) {
87
if (data.userDataTypeInput.get() != null) {
0 commit comments