Skip to content

Commit

Permalink
[Fix] Covariate check. Should now skip samples correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
choishingwan committed Oct 14, 2019
1 parent 356ee38 commit 412876e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions inc/commander.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
#include <windows.h>
#endif

const std::string version = "2.2.10.b";
const std::string date = "2019-10-09";
const std::string version = "2.2.11";
const std::string date = "2019-10-14";
class Commander
{
public:
Expand Down
4 changes: 2 additions & 2 deletions src/prsice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,8 +803,8 @@ void PRSice::process_cov_file(
{
std::transform(token[header].begin(), token[header].end(),
token[header].begin(), ::toupper);
valid = validate_covariate(token[header], num_factors, header,
factor_level_index, missing_count);
valid &= validate_covariate(token[header], num_factors, header,
factor_level_index, missing_count);
}
if (valid)
{
Expand Down

0 comments on commit 412876e

Please sign in to comment.