Skip to content

Commit

Permalink
undo faulty changes from commit e66af98 (mu is a Double, not a Function)
Browse files Browse the repository at this point in the history
  • Loading branch information
denisekuehnert committed Jul 12, 2018
1 parent 5e8b751 commit d85d85f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/beast/evolution/operators/RootBranchRetype.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public double proposal() {
*/
protected double retypeBranch(MultiTypeRootBranch srcNode) {

double mu = muInput.get().getArrayValue();
double mu = muInput.get();

double t_srcNode = mtTree.getRoot().getHeight();
double t_srcNodeParent = originInput.get().getValue();
Expand Down Expand Up @@ -129,7 +129,7 @@ protected double retypeBranch(MultiTypeRootBranch srcNode) {
*/
protected double getBranchTypeProb(MultiTypeRootBranch srcNode) {

double mu = muInput.get().getArrayValue();
double mu = muInput.get();
int n = srcNode.getChangeCount();
int N = migModel.getNTypes();

Expand Down

0 comments on commit d85d85f

Please sign in to comment.