Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
0a17624b
Commit
0a17624b
authored
Feb 20, 2015
by
Mikaël Salson
Browse files
segment.cpp: Avoid comparisons of (un)signed integers
parent
d1798cd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/segment.cpp
View file @
0a17624b
...
...
@@ -804,9 +804,9 @@ void FineSegmenter::findCDR3(){
std
::
list
<
string
>::
const_iterator
it
;
for
(
it
=
codon_start
.
begin
();
it
!=
codon_start
.
end
();
++
it
)
{
//filter 1 : start codon must be in V
loc
=
0
;
while
(
loc
!=
string
::
npos
&
loc
<
Vend
){
while
(
loc
!=
string
::
npos
&
loc
<
(
size_t
)
Vend
){
loc
=
str
.
find
(
*
it
,
loc
+
3
);
if
(
loc
!=
string
::
npos
&
loc
<
Vend
)
{
if
(
loc
!=
string
::
npos
&
loc
<
(
size_t
)
Vend
)
{
p_start
.
push_front
(
loc
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment