Skip to content

Commit

Permalink
Update meryl/ and utility/: 'types.H' changes and 64-mer lookups.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianwalenz committed Nov 30, 2020
1 parent 76b1263 commit aa43bb5
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/correction/falconConsensus-alignTag.C
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ getAlignTags(char *Qalign, int32 Qbgn, int32 Qlen, int32 UNUSED(Qid),
assert(j >= 0);
assert(j < Tlen);

if ((jj >= uint16MAX) ||
(p_jj >= uint16MAX))
if ((jj >= uint16max) ||
(p_jj >= uint16max))
continue;

tags->setTag(j, p_j, jj, p_jj, Qalign[k], p_q_base);
Expand Down
2 changes: 1 addition & 1 deletion src/correction/falconConsensus.C
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ falconConsensus::getConsensus(uint32 tagsLen, // Number
// Assume t_pos was set on earlier iteration.
// (Otherwise, use its initial value, which might be an error. ~cd)

assert(tag->delta < uint16MAX);
assert(tag->delta < uint16max);

msa[t_pos]->increaseDeltaGroup(tag->delta);

Expand Down
1 change: 1 addition & 0 deletions src/main.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ SOURCES := utility/src/utility/runtime.C \
utility/src/utility/kmers.C \
\
utility/src/utility/bits.C \
utility/src/utility/bits-wordArray.C \
\
utility/src/utility/hexDump.C \
utility/src/utility/md5.C \
Expand Down
2 changes: 1 addition & 1 deletion src/stores/ovStoreConfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ main(int argc, char **argv) {
} else if (strcmp(argv[arg], "-M") == 0) {
double lo=0.0, hi=0.0;

decodeRange(argv[++arg], lo, hi);
decodeRange<double>(argv[++arg], lo, hi);

minMemory = (uint64)ceil(lo * 1024.0 * 1024.0 * 1024.0);
maxMemory = (uint64)ceil(hi * 1024.0 * 1024.0 * 1024.0);
Expand Down

0 comments on commit aa43bb5

Please sign in to comment.