Skip to content

Commit

Permalink
Fix default MAX_TIME_JUMP (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Apr 22, 2024
1 parent faa941a commit 1179fe3
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 1179fe3

Please sign in to comment.