Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,712
Issues
1,712
List
Boards
Labels
Service Desk
Milestones
Merge Requests
87
Merge Requests
87
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
dae1b805
Commit
dae1b805
authored
Oct 30, 2014
by
Mikaël Salson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AffectAnalyser: Bug correction in getAllAffectations()
Testing the function was not useless.
parent
5856abdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
algo/core/affectanalyser.h
algo/core/affectanalyser.h
+4
-2
No files found.
algo/core/affectanalyser.h
View file @
dae1b805
...
...
@@ -313,8 +313,10 @@ vector<T> KmerAffectAnalyser<T>::getAllAffectations(affect_options_t options) co
T
previous
=
affectations
[
0
];
result
.
push_back
(
previous
);
for
(
size_t
i
=
1
;
i
<
affectations
.
size
();
i
++
)
{
if
(
!
(
previous
==
affectations
[
i
]))
result
.
push_back
(
previous
);
if
(
!
(
previous
==
affectations
[
i
]))
{
result
.
push_back
(
affectations
[
i
]);
previous
=
affectations
[
i
];
}
}
return
result
;
}
...
...
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