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 ce864f5 commit 658db7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void init(PrintStream out) {
}

@Override
public void log(int nSample, PrintStream out) {
public void log(long nSample, PrintStream out) {
int count = 0;
for (int i=0; i<model.getStateCount(); i++) {
for (int j=model.isSymmetricInput.get() ? i+1 : 0; j<model.getStateCount(); j++) {
Expand Down
2 changes: 1 addition & 1 deletion src/beast/evolution/tree/RootTrait.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void init(PrintStream out) {
}

@Override
public void log(int nSample, PrintStream out) {
public void log(long nSample, PrintStream out) {
for (int i = 0; i < dim; i++) {
out.append(getArrayValue(i) + "\t");
}
Expand Down
2 changes: 1 addition & 1 deletion src/beast/evolution/tree/TreeWithTraitLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void init(PrintStream out) {
}

@Override
public void log(int nSample, PrintStream out) {
public void log(long nSample, PrintStream out) {
// make sure we get the current version of the inputs
Tree tree = (Tree) m_tree.get().getCurrent();
List<TreeTrait<?>> treeTraits = new ArrayList<TreeTrait<?>>();
Expand Down

0 comments on commit 658db7a

Please sign in to comment.