diff --git a/src/beast/evolution/speciation/SABirthDeathModel.java b/src/beast/evolution/speciation/SABirthDeathModel.java index a9a2744..53d3e74 100644 --- a/src/beast/evolution/speciation/SABirthDeathModel.java +++ b/src/beast/evolution/speciation/SABirthDeathModel.java @@ -173,7 +173,7 @@ public void initAndValidate() { } } if (!isOK) { - Log.err.println("ERROR: " + op.getClass().getSimpleName() + + throw new RuntimeException("ERROR: " + op.getClass().getSimpleName() + " is not a valid operator for a sampled ancestor analysis.\n" + "Either remove the operator (id=" + op.getID() + ") or fix the " + "removal probability to 1.0 so this is not a sampled ancestor " +