Skip to content

Commit 662d6d3

Browse files
src/analysis/nanopore.cpp: tweak
1 parent 294baa5 commit 662d6d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/analysis/nanopore.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,19 +168,19 @@ eats_query(const std::uint32_t c) {
168168
then one needs this. Also, Qiang should be consulted on this
169169
because he spent much time thinking about it in the context of
170170
plants. */
171-
[[nodiscard]] static bool
171+
[[nodiscard]] static inline bool
172172
is_chh(const std::string &s, const std::size_t i) {
173173
return i + 2 < std::size(s) && is_cytosine(s[i]) && !is_guanine(s[i + 1]) &&
174174
!is_guanine(s[i + 2]);
175175
}
176176

177-
[[nodiscard]] static bool
177+
[[nodiscard]] static inline bool
178178
is_ddg(const std::string &s, const std::size_t i) {
179179
return i + 2 < std::size(s) && !is_cytosine(s[i]) && !is_cytosine(s[i + 1]) &&
180180
is_guanine(s[i + 2]);
181181
}
182182

183-
[[nodiscard]] static bool
183+
[[nodiscard]] static inline bool
184184
is_c_at_g(const std::string &s, const std::size_t i) {
185185
return i + 2 < std::size(s) && is_cytosine(s[i]) && !is_cytosine(s[i + 1]) &&
186186
!is_guanine(s[i + 1]) && is_guanine(s[i + 2]);

0 commit comments

Comments
 (0)