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
khalid
radsex
Commits
d1a314c9
Commit
d1a314c9
authored
Feb 23, 2020
by
RomainFeron
Browse files
Fixed bug with vector length when computing marker frequencies in the population
parent
304c9e88
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/freq.cpp
View file @
d1a314c9
...
...
@@ -10,7 +10,7 @@ void freq(Parameters& parameters) {
Header
header
=
get_header
(
parameters
.
markers_table_path
);
Popmap
popmap
;
// Create dummy popmap
uint
n_individuals
=
header
.
size
()
-
2
;
uint
n_individuals
=
header
.
size
()
-
1
;
// Number of columns - 2 (id and seq columns) +1 (because range is 0 - n_individuals)
bool
parsing_ended
=
false
;
MarkersQueue
markers_queue
;
...
...
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