Skip to content

Commit

Permalink
Update pypower.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dchassin committed Feb 21, 2024
1 parent 7077383 commit a944a62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/pypower/pypower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ EXPORT TIMESTAMP on_sync(TIMESTAMP t0)
}
else
{
return maximum_timestep > 0 ? t0+3600 : TS_NEVER;
return maximum_timestep > 0 ? t0+maximum_timestep : TS_NEVER;
}
}

Expand Down

0 comments on commit a944a62

Please sign in to comment.