Skip to content

Commit d575177

Browse files
committed
don't force mod_pos to be a double
1 parent 9e86254 commit d575177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/read_mismatchbam_cpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ int process_mismatch_bam_record_pair(
112112
fwdbase = bam_seqi(hitseq, read_pos);
113113
if (fwdbase & (unmod_int | mod_int)) {
114114
qscore_pos = bam_get_qual(bamdata)[read_pos];
115-
mod_pos = fwdbase == unmod_int ? 0.0 : 1.0;
115+
mod_pos = fwdbase == unmod_int ? 0 : 1;
116116
// check if position has already been seen, and
117117
// keep the observation with the highest qscore
118118
found = false;

0 commit comments

Comments
 (0)