From 20cac2d911bff924f0f4bb5d0fd4159039739d45 Mon Sep 17 00:00:00 2001 From: Rory Barnes Date: Fri, 21 Jun 2024 15:27:50 -0700 Subject: [PATCH] Fixed typo in primaryvariables.rst --- docs/primaryvariable.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/primaryvariable.rst b/docs/primaryvariable.rst index ac876c2ff..2fdb4bd54 100644 --- a/docs/primaryvariable.rst +++ b/docs/primaryvariable.rst @@ -200,7 +200,7 @@ We then need to add some lines to ```module.c```. In InitializeModule, add .. code-block:: bash -module->fnFinalizeUpdatePhysics = + module->fnFinalizeUpdatePhysics = malloc(iNumBodies * sizeof(fnFinalizeUpdateCarbManModule)); and in FinalizeModule, add @@ -214,7 +214,7 @@ and .. code-block:: bash - module->fnFinalizeUpdatePhysics[iBody][iModule] = &FinalizeUpdateNULL; + module->fnFinalizeUpdatePhysics[iBody][iModule] = &FinalizeUpdateNULL; Please add them next to the other similar statements