Skip to content

Commit

Permalink
Fix default MAX_TIME_JUMP
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Apr 22, 2024
1 parent faa941a commit 23fcc93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/param.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ int set_paramptr(FILE* paramfile)
}
else
{
g_P[YP_PARAM_MAX_TIME_JUMP][0] = g_P[YP_PARAM_CYCLE][0];
g_P[YP_PARAM_MAX_TIME_JUMP][0] = g_P[YP_PARAM_CONTROL_CYCLE][0];
}
if (g_P_set[YP_PARAM_MAX_TIME_JUMP_NEG][0])
{
Expand All @@ -962,7 +962,7 @@ int set_paramptr(FILE* paramfile)
}
else
{
g_P[YP_PARAM_MAX_TIME_JUMP_NEG][0] = g_P[YP_PARAM_CYCLE][0];
g_P[YP_PARAM_MAX_TIME_JUMP_NEG][0] = g_P[YP_PARAM_CONTROL_CYCLE][0];
}

if (param_error)
Expand Down

0 comments on commit 23fcc93

Please sign in to comment.