Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Bug introduced in v1.6.6 in SuperAlignment::createBootstrapAlignment …
Browse files Browse the repository at this point in the history
…in SCALE bootstrap for AU test (reported by Ales Bucek)
  • Loading branch information
bqminh committed Dec 19, 2018
1 parent ef025b2 commit 0adeb82
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion alignment/superalignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,10 @@ void SuperAlignment::createBootstrapAlignment(int *pattern_freq, const char *spe
// resampling sites within genes
int offset = 0;
for (vector<Alignment*>::iterator it = partitions.begin(); it != partitions.end(); it++) {
(*it)->createBootstrapAlignment(pattern_freq + offset, NULL, rstream);
if (spec && strncmp(spec, "SCALE=", 6) == 0)
(*it)->createBootstrapAlignment(pattern_freq + offset, spec, rstream);
else
(*it)->createBootstrapAlignment(pattern_freq + offset, NULL, rstream);
offset += (*it)->getNPattern();
}
}
Expand Down

0 comments on commit 0adeb82

Please sign in to comment.