From a944a62fbb88dd67bfbe9f7c3786012a2af1ff2c Mon Sep 17 00:00:00 2001 From: "David P. Chassin" Date: Tue, 20 Feb 2024 17:49:27 -0800 Subject: [PATCH] Update pypower.cpp --- module/pypower/pypower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/pypower/pypower.cpp b/module/pypower/pypower.cpp index 1a90e180a..9d20953a1 100644 --- a/module/pypower/pypower.cpp +++ b/module/pypower/pypower.cpp @@ -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; } }