Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Heng Li committed Nov 2, 2011
1 parent 673ae4a commit 4083fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bwt.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void bwt_cal_sa(bwt_t *bwt, int intv)
bwt->sa_intv = intv;
bwt->n_sa = (bwt->seq_len + intv) / intv;
bwt->sa = (bwtint_t*)calloc(bwt->n_sa, sizeof(bwtint_t));
if (bwa->sa == 0) {
if (bwt->sa == 0) {
fprintf(stderr, "[%s] Fail to allocate %.3fMB memory. Abort!\n", __func__, bwt->n_sa * sizeof(bwtint_t) / 1024.0/1024.0);
abort();
}
Expand Down

0 comments on commit 4083fe9

Please sign in to comment.