Skip to content

Commit

Permalink
r906: de tag is wrongly calculated given "N"
Browse files Browse the repository at this point in the history
Resolves #309
  • Loading branch information
lh3 committed Jan 12, 2019
1 parent c404f49 commit 48e230f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion format.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ double mm_event_identity(const mm_reg1_t *r)
if (op == 1 || op == 2)
++n_gapo, n_gap += len;
}
return (double)r->mlen / (r->blen - r->p->n_ambi - n_gap + n_gapo);
return (double)r->mlen / (r->blen - n_gap + n_gapo);
}

static inline void write_tags(kstring_t *s, const mm_reg1_t *r)
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "ketopt.h"

#define MM_VERSION "2.15-r905"
#define MM_VERSION "2.15-r906-dirty"

#ifdef __linux__
#include <sys/resource.h>
Expand Down

0 comments on commit 48e230f

Please sign in to comment.