Skip to content

Commit

Permalink
Fixed bug in freq output for some datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainFeron committed Apr 27, 2020
1 parent bf1f5d0 commit 14c1f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/freq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

Freq::Freq(Parameters& parameters, bool compare_groups, bool store_groups, bool store_sequence) : Analysis(parameters, compare_groups, store_groups, store_sequence) {

this->results = std::vector<uint32_t>(this->markers_table.header.n_individuals, 0);
this->results = std::vector<uint32_t>(this->markers_table.header.n_individuals + 1, 0);

};

Expand Down

0 comments on commit 14c1f78

Please sign in to comment.