Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Jul 19, 2023
1 parent aa30859 commit 0be65ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hts/bam/flag.cr
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ module HTS
end
{% end %}

def has_flag?(other)
@value & other.to_i != 0
def has_flag?(m)
(@value & m) != 0
end

def &(other)
Expand Down

0 comments on commit 0be65ec

Please sign in to comment.