Closed jsigao closed 2 years ago
Dear @msuchard -- thank you very much for reviewing and merging this PR! I'll provide the test-units as advised for this and the other PRs as soon as I can.
I am very excited for and look forward to the opportunity to work more closely with you in the near future!
This PR is modified from a previous PR following @msuchard's suggestion. It contains two additional commits to revert to the default behavior of
ComplexSubstitutionModel
that (1) uses the explicitly specified frequency vector to normalize the matrix (commit7f5523b
) and (2) require afrequencies
orrootfrequencies
object to be provided within aComplexSubstitutionModel
block in the XML (commit0ef84bc
). After these changes, only when a newly added argumentcomputeStationary
is specified to true (default false) and no frequency vector is provided within theComplexSubstitutionModel
block, the stationary distribution will be computed from the asymmetric Q matrix and be used to normalize the matrix (otherwise the old behavior is untouched and is the default).For the sake of completeness, the PR message from the previous PR is included below.
Please let me know if any edits are needed to these commits. Thank you in advance for reviewing this PR.