Skip to content

Commit

Permalink
move set() func to ProdigalWrapper.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jaebeom-kim committed Sep 29, 2024
1 parent 73ef9c2 commit a13bdd9
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 a13bdd9

Please sign in to comment.