Skip to content

Commit

Permalink
forgot to update --hardy max parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchang committed Feb 6, 2024
1 parent 13f88f5 commit 2af72fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2.0/plink2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6342,7 +6342,7 @@ int main(int argc, char** argv) {

case 'h':
if (strequal_k_unsafe(flagname_p2, "ardy")) {
if (unlikely(EnforceParamCtRange(argvk[arg_idx], param_ct, 0, 4))) {
if (unlikely(EnforceParamCtRange(argvk[arg_idx], param_ct, 0, 5))) {
goto main_ret_INVALID_CMDLINE_2A;
}
for (uint32_t param_idx = 1; param_idx <= param_ct; ++param_idx) {
Expand Down

0 comments on commit 2af72fd

Please sign in to comment.