Skip to content

Commit

Permalink
Merge pull request #92 from jaebeom-kim/master
Browse files Browse the repository at this point in the history
move set() func to ProdigalWrapper.h
  • Loading branch information
jaebeom-kim authored Sep 29, 2024
2 parents 1e484d8 + a13bdd9 commit 4716a6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/commons/ProdigalWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ class ProdigalWrapper{
mask mlist[MAX_MASKS];
struct _metagenomic_bin * meta;

/* Set a bit to 1 */
void set(unsigned char *bm, int ndx) {
bm[ndx>>3] |= (1 << (ndx&0x07));
}

public:
int fng, ng;
int is_meta;
Expand Down

0 comments on commit 4716a6f

Please sign in to comment.