Fix typos in mju_boxQP documentation.

PiperOrigin-RevId: 585462325
Change-Id: Ib1c15c3d5af8475ec1a62b50c66b729579a23e60
This commit is contained in:
Kevin Zakka
2023-11-26 11:22:59 -08:00
committed by Copybara-Service
parent 002b427a32
commit e33adaca9c
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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:
+3 -3
View File
@@ -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: