Skip to content

Commit

Permalink
sync beast2 issue 554
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Mar 12, 2018
1 parent d689861 commit fc606a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/sphericalGeo/GeoPrior.java
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public void init(PrintStream out) {
}

@Override
public void log(int nSample, PrintStream out) {
public void log(long nSample, PrintStream out) {
if (!initialised) {
initialise();
}
Expand Down
2 changes: 1 addition & 1 deletion src/sphericalGeo/MultiGeoPrior.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public void init(PrintStream out) {
}

@Override
public void log(int sample, PrintStream out) {
public void log(long sample, PrintStream out) {
for (GeoPrior prior : geoPriors) {
int taxonNr = prior.getTaxonNr();
out.append(location.getValue(taxonNr * 2)+"\t");
Expand Down
2 changes: 1 addition & 1 deletion src/sphericalGeo/SphericalDiffusionModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ public void init(PrintStream out) {
}

@Override
public void log(int sample, PrintStream out) {
public void log(long sample, PrintStream out) {
out.print(maxTau + "\t");
out.print(meanTau + "\t");
}
Expand Down
2 changes: 1 addition & 1 deletion src/sphericalGeo/util/SpeedLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void init(PrintStream out) {
}

@Override
public void log(int sample, PrintStream out) {
public void log(long sample, PrintStream out) {
double sumOfTime = 0;
double sumOfDistance = 0;
for (Node node : tree.getNodesAsArray()) {
Expand Down

0 comments on commit fc606a2

Please sign in to comment.