Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bedtools2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
R3
legacy
bedtools2
Commits
5f91a5b9
Commit
5f91a5b9
authored
10 years ago
by
Arjan van der Velde
Browse files
Options
Downloads
Patches
Plain Diff
changed compare function to have "unsigned int"
in order to make this compile with clang on FreeBSD 10.
parent
0292f311
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pairToPair/pairToPair.cpp
+2
-2
2 additions, 2 deletions
src/pairToPair/pairToPair.cpp
with
2 additions
and
2 deletions
src/pairToPair/pairToPair.cpp
+
2
−
2
View file @
5f91a5b9
...
...
@@ -136,7 +136,7 @@ void PairToPair::FindOverlaps(const BEDPE &a) {
bool
PairToPair
::
FindHitsOnBothEnds
(
const
BEDPE
&
a
,
const
vector
<
MATE
>
&
qualityHitsEnd1
,
const
vector
<
MATE
>
&
qualityHitsEnd2
)
{
map
<
unsigned
int
,
vector
<
MATE
>
,
less
<
int
>
>
hitsMap
;
map
<
unsigned
int
,
vector
<
MATE
>
,
less
<
unsigned
int
>
>
hitsMap
;
for
(
vector
<
MATE
>::
const_iterator
h
=
qualityHitsEnd1
.
begin
();
h
!=
qualityHitsEnd1
.
end
();
++
h
)
{
hitsMap
[
h
->
lineNum
].
push_back
(
*
h
);
...
...
@@ -174,7 +174,7 @@ bool PairToPair::FindHitsOnBothEnds(const BEDPE &a, const vector<MATE> &qualityH
void
PairToPair
::
FindHitsOnEitherEnd
(
const
BEDPE
&
a
,
const
vector
<
MATE
>
&
qualityHitsEnd1
,
const
vector
<
MATE
>
&
qualityHitsEnd2
)
{
map
<
unsigned
int
,
vector
<
MATE
>
,
less
<
int
>
>
hitsMap
;
map
<
unsigned
int
,
vector
<
MATE
>
,
less
<
unsigned
int
>
>
hitsMap
;
for
(
vector
<
MATE
>::
const_iterator
h
=
qualityHitsEnd1
.
begin
();
h
!=
qualityHitsEnd1
.
end
();
++
h
)
{
hitsMap
[
h
->
lineNum
].
push_back
(
*
h
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment