Skip to content

Commit

Permalink
Up to date with beast 2.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
denisekuehnert committed Mar 18, 2016
1 parent c9107a1 commit 98f450e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/bdsky/MultiSkyline.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public MultiSkyline(SimpleSkyline... skyline) {
}

@Override
public void initAndValidate() throws Exception {}
public void initAndValidate() {}

@Override
public List<SkylineSegment> getSegments() {
Expand Down
2 changes: 1 addition & 1 deletion src/bdsky/SimpleSkyline.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class SimpleSkyline extends CalculationNode implements Skyline {
"Should be the same length as time vector", (RealParameter) null);

@Override
public void initAndValidate() throws Exception {
public void initAndValidate() {

Double[] times = getTimes();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class CanonicalParameterization extends BDSParameterization {
new Input<>("removalProbability", "The probability of an individual to become noninfectious immediately after the sampling");

@Override
public void initAndValidate() throws Exception {
public void initAndValidate() {

MultiSkyline multiSkyline = new MultiSkyline(
birthRate.get(),
Expand Down
2 changes: 1 addition & 1 deletion src/beast/evolution/speciation/OUPrior.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class OUPrior extends Distribution {

public Input<Boolean> logSpace = new Input<>("logspace", "true if prior should be applied to log(x).", false);

public double calculateLogP() throws Exception {
public double calculateLogP() {

double mu = meanInput.get().getValue();
double sigma = sigmaInput.get().getValue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ enum ConditionOn {NONE, SURVIVAL, RHO_SAMPLING};
public Boolean printTempResults;

@Override
public void initAndValidate() throws Exception {
public void initAndValidate() {
super.initAndValidate();

if (!originIsRootEdge.get() && treeInput.get().getRoot().getHeight() >= origin())
Expand Down
2 changes: 1 addition & 1 deletion src/beast/evolution/speciation/R0Parameterization.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class R0Parameterization extends BDSParameterization {
"If 1.0 then no sampled ancestors are produced in that interval.");

@Override
public void initAndValidate() throws Exception {
public void initAndValidate() {

MultiSkyline multiSkyline = new MultiSkyline(
R0.get(),
Expand Down

0 comments on commit 98f450e

Please sign in to comment.