BEAST2-Dev / BEASTLabs

A package for BEAST 2 implementing generally useful stuff
6 stars 4 forks source link

AVMN operator returns tree with negative branch lengths #16

Closed rbouckaert closed 3 years ago

rbouckaert commented 3 years ago

If a tree contains dated tips the scale method of the Tree can return a tree with negative branch lengths. The operator should check that such tree is not valid and return -Infinity if a negative branch length is detected.

A tree stretch move instead of a scale move might be better regardless.