Skip to content

Commit

Permalink
Merge pull request #192 from smithlabcode/recovered-bug-fix
Browse files Browse the repository at this point in the history
recovered command bug fix
  • Loading branch information
andrewdavidsmith authored Nov 29, 2023
2 parents c274805 + 47d3310 commit 0a204e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/recovered.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ verify_chrom_orders(const bool verbose, const uint32_t n_threads,
if (idx < prev_idx)
throw runtime_error("inconsistent chromosome order at: " + line);

prev_idx = idx;
std::swap(line, prev_chrom);
}
}
Expand Down

0 comments on commit 0a204e8

Please sign in to comment.