Skip to content

Commit 0c25808

Browse files
committed
replace with function calls
1 parent cf8a5ed commit 0c25808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chimera.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -858,11 +858,11 @@ auto count_matches_with_parents(struct chimera_info_s const * chimera_info,
858858

859859
for (auto i = 0; i < alignment_length; ++i)
860860
{
861-
auto const qsym = chrmap_4bit[(int) (chimera_info->qaln[i])];
861+
auto const qsym = map_4bit(chimera_info->qaln[i]);
862862

863863
for (auto f = 0; f < chimera_info->parents_found; ++f)
864864
{
865-
auto const psym = chrmap_4bit[(int) (chimera_info->paln[f][i])];
865+
auto const psym = map_4bit(chimera_info->paln[f][i]);
866866
if (qsym == psym) {
867867
++matches[f];
868868
}

0 commit comments

Comments
 (0)