From c3ff52208a252a9ca84173144731d2784ec93f62 Mon Sep 17 00:00:00 2001 From: Jiangjie Weng Date: Wed, 21 Feb 2024 10:15:29 -0500 Subject: [PATCH] Commentary: Fix typo in the call condition of designp->nextTimeSlot() (#4912) --- docs/CONTRIBUTORS | 1 + docs/guide/connecting.rst | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CONTRIBUTORS b/docs/CONTRIBUTORS index 098df0de4..c700e0810 100644 --- a/docs/CONTRIBUTORS +++ b/docs/CONTRIBUTORS @@ -76,6 +76,7 @@ James Shi Jamey Hicks Jamie Iles Jan Van Winkel +Jiangjie Weng Jean Berniolles Jeremy Bennett Jesse Taube diff --git a/docs/guide/connecting.rst b/docs/guide/connecting.rst index 9d677c23a..8f06143d4 100644 --- a/docs/guide/connecting.rst +++ b/docs/guide/connecting.rst @@ -500,7 +500,7 @@ the user should call: any delayed events pending, * :code:`designp->nextTimeSlot()`, which returns the simulation time of the next delayed event. This method can only be called if - :code:`designp->nextTimeSlot()` returned :code:`true`. + :code:`designp->eventsPending()` returned :code:`true`. Call :code:`eventsPending()` to check if you should continue with the simulation, and then :code:`nextTimeSlot()` to move simulation time forward.