Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
9ec1eafa
Commit
9ec1eafa
authored
Sep 29, 2016
by
Mathieu Giraud
Browse files
core/representative.cpp: delete cover_longest_run in a special case
Thanks to Valgrind.
parent
3378b6f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/representative.cpp
View file @
9ec1eafa
...
...
@@ -221,6 +221,10 @@ void KmerRepresentativeComputer::compute(bool try_hard) {
if
(
coverage
<
THRESHOLD_BAD_COVERAGE
&&
!
try_hard
)
{
compute
(
true
);
delete
index
[
0
];
if
(
cover_longest_run
)
delete
[]
cover_longest_run
;
return
;
}
...
...
Write
Preview
Supports
Markdown
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