From e33adaca9c46f5ebb16f269ed81ea880c0636086 Mon Sep 17 00:00:00 2001 From: Kevin Zakka Date: Sun, 26 Nov 2023 11:22:59 -0800 Subject: [PATCH] Fix typos in `mju_boxQP` documentation. PiperOrigin-RevId: 585462325 Change-Id: Ib1c15c3d5af8475ec1a62b50c66b729579a23e60 --- doc/APIreference/functions.rst | 6 +++--- doc/APIreference/functions_override.rst | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/APIreference/functions.rst b/doc/APIreference/functions.rst index afa607d1..9d1232c6 100644 --- a/doc/APIreference/functions.rst +++ b/doc/APIreference/functions.rst @@ -3011,10 +3011,10 @@ outputs (optional): notes: The initial value of ``res`` is used to warmstart the solver. - ``R`` must have allocatd size ``n*(n+7)``, but only ``nfree*nfree`` values are used in output. - ``index`` (if given) must have allocated size ``n``, but only ``nfree`` values are used in output. + ``R`` must have allocated size ``n*(n+7)``, but only ``nfree*nfree`` values are used as output. + ``index`` (if given) must have allocated size ``n``, but only ``nfree`` values are used as output. The convenience function :ref:`mju_boxQPmalloc` allocates the required data structures. - Only the lower triangles of H and R and are read from and written to, respectively. + Only the lower triangles of H and R are read from and written to, respectively. .. _mju_boxQPmalloc: diff --git a/doc/APIreference/functions_override.rst b/doc/APIreference/functions_override.rst index b81199f5..aaf6a2d3 100644 --- a/doc/APIreference/functions_override.rst +++ b/doc/APIreference/functions_override.rst @@ -486,10 +486,10 @@ outputs (optional): notes: The initial value of ``res`` is used to warmstart the solver. - ``R`` must have allocatd size ``n*(n+7)``, but only ``nfree*nfree`` values are used in output. - ``index`` (if given) must have allocated size ``n``, but only ``nfree`` values are used in output. + ``R`` must have allocated size ``n*(n+7)``, but only ``nfree*nfree`` values are used as output. + ``index`` (if given) must have allocated size ``n``, but only ``nfree`` values are used as output. The convenience function :ref:`mju_boxQPmalloc` allocates the required data structures. - Only the lower triangles of H and R and are read from and written to, respectively. + Only the lower triangles of H and R are read from and written to, respectively. .. _mju_boxQPmalloc: